' # yield '%s' % (url, url) # yield ' ' ### de volgende regel geeft een permission denied error ????? hangt ws. samem met javascript handleOpenUrl() #yield '%s ' % url yield '' yield 'Current rating ' yield rating.showRating(recordId) yield ' ' yield rating.showCreateRating(Headers, recordId) yield ' ' #### the following can be used for testing # modsRecord = escapeXml(tostring(mods, pretty_print = True)) # yield ' mods' # yield '%s' % modsRecord # headerRecord = escapeXml(tostring(header, pretty_print = True)) # yield ' header' # yield '%s' % headerRecord # metaRecord = escapeXml(tostring(meta, pretty_print = True)) # yield ' meta' # yield '%s' % metaRecord # extraRecord = escapeXml(tostring(extra, pretty_print = True)) # yield ' extra' # yield '%s' % extraRecord metadataRecord = escapeXml(tostring(metadata, pretty_print = True)) yield ' metadata' yield '%s' % metadataRecord #yield '\n' % urlencode({ #'version':'1.1', #'operation':'searchRetrieve', #'query':'meta.upload.id exact "%s"' % recordId, #'recordSchema': 'mods', #'x-recordSchema':['meta', 'extra', 'header', 'rating']}) yield """ |