$def with (ia, record, books) $# e.g. /show-records/ia:isbn_9781555531799 $ title = "MARC record from Internet Archive" $var title: $title
$if len(books): $ e = get_document(books[0])

$title

$# detect-missing-i18n-skip-line
$_("Record ID")ia:$ia
$_("Source") $_("Internet Archive")
$_("Download MARC XML") https://archive.org/download/$ia/$(ia)_marc.xml
$_("Download MARC binary") https://www.archive.org/download/$ia/$(ia)_meta.mrc
$if not record:

$_("Invalid MARC record.")

$else:

$_("LEADER:") $record.leader
$:record.html()