"""
if ('title' in record): yield fieldRow('Title', record['title'])
if ('authors' in record): yield fieldRow('Author(s)', record['authors'])
if ('supervisors' in record): yield fieldRow('Supervisor(s)', record['supervisors'])
if ('publisher' in record): yield fieldRow('Publisher', record['publisher'])
if ('source' in record): yield fieldRow('Source', record['source'])
if ('date' in record): yield fieldRow('Publication year', record['date'])
if ('url' in record):
value = ' %(url)s' %{'url':record['url']}
yield fieldRow('URL', value)
if ('urls' in record):
for url in record['urls']:
value = ' %(url)s' %{'url':url}
yield fieldRow('URL', value)
if ('keywords' in record): yield fieldRow('Keyword(s)', record['keywords'])
if ('classification' in record): yield fieldRow('Classification', record['classification'])
if ('abstract' in record): yield fieldRow('Abstract', record['abstract'])
if ('issn' in record): yield fieldRow('ISSN', record['issn'])
if ('isbn' in record): yield fieldRow('ISBN', record['isbn'])
if ('genre' in record): yield fieldRow('Document type', record['genre'])
yield """
"""
# url = any.createOpenURL(mods)
# yield '
'
# 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 """