$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

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()