Published

January 13, 2025

Visualize coverage of editing of a page

It’s straightforward to get all the image references identifying texts on a given page, and then view them in the HMT project’s Image Citation Tool.

Follow along

Define a variable named current_release with the contents of a HMT project release; follow the instructions in this introductory tutorial

Get the triples records (text/artifact/image) for the current release

using HmtArchive.Analysis
current_release = hmt_cex()
dse = hmt_dse(current_release)[1]
urn:cite2:hmt:hmtdse.v1:all Homer Multitext project indexing of digital scholarly editions

Get images for a given page

Define a page to look for, and get all indexed record for that page. We’ll arbitrarily look for page 37 verso in the Venetus A manuscript.

using CitableObject, CitablePhysicalText
chosenpg = Cite2Urn("urn:cite2:hmt:msA.v1:37v")
imgs = imagesforsurface(chosenpg, dse)

Compose a URL

The Homer Multitext project hosts an Image Citation Tool at this URL:

ictbase = "https://www.homermultitext.org/ict2/?"

The Image Citation Tool can accept multiple references with a repeated urn parameter added to its URL, so all we have to do is to keep tacking &urn=URN_VALUE on to the basic URL:

link = ictbase * join(map(i -> "urn=" * string(i), imgs), "&")
"https://www.homermultitext.org/ict2/?urn=urn:cite2:hmt:vaimg.2017a:VA037VN_0539@0.466,0.2333,0.425,0.0293&urn=urn:cite2:hmt:vaimg.2017a:VA037VN_0539@0.466,0.2536,0.425,0.0293&urn=urn:cite2:hmt:vaimg.2017a:VA037VN_0539@0.463,0.2716,0.425,0.0293&urn=urn:cite2:hmt:vaimg.20" ⋯ 2122 bytes ⋯ "te2:hmt:vaimg.2017a:VA037VN_0539@0.216,0.5937,0.2173,0.0698&urn=urn:cite2:hmt:vaimg.2017a:VA037VN_0539@0.429,0.2566,0.0433,0.0693&urn=urn:cite2:hmt:vaimg.2017a:VA037VN_0539@0.4393,0.6285,0.0483,0.0283&urn=urn:cite2:hmt:vaimg.2017a:VA037VN_0539@0.863,0.4936,0.0437,0.0466"

Try it!

Here's the link displayed above: try it!