scaife-viewer / beyond-translation-site

Site used to iterate on translation alignments within the Scaife Viewer ecosystem
3 stars 4 forks source link

Set up milestone extraction from Antigone #132

Open jacobwegner opened 1 year ago

jacobwegner commented 1 year ago

Given the existing functionality on P4 and the "card" annotations we have in the TEI XML:

refs:

jacobwegner commented 1 year ago

I've got a first pass done and working locally.

Viewing at http://localhost:8080/reader/urn:cts:greekLit:tlg0011.tlg002.perseus-grc2:155-161b:

image

Compared to http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0185%3Acard%3D155:

image
jacobwegner commented 1 year ago

Deploy preview:

https://beyond-transl-pr-136.herokuapp.com/reader/urn:cts:greekLit:tlg0011.tlg002.perseus-grc2:1-38

image
jacobwegner commented 1 year ago

re:

Make them available only when viewing Antigone

Right now, the Table of Contents widget is displayed all the time in the sidebar, but the "Antigone (Cards)" TOC is where the "home" button navigates to.

What I think would map more closely to our desired behaviors would be to

jacobwegner commented 1 year ago

Added Iliad "cards":

https://beyond-transl-pr-136.herokuapp.com/reader/urn:cts:greekLit:tlg0012.tlg001.perseus-grc2:1.1-1.7

image
jacobwegner commented 1 year ago

Iliad cards are now grouped by book:

https://beyond-transl-pr-136.herokuapp.com/reader/urn:cts:greekLit:tlg0012.tlg001.perseus-grc2:1.33-1.67?toc=urn%3Acite%3Ascaife-viewer%3Atoc.iliad-1

image image
jacobwegner commented 1 year ago

I've been working to expand this to all of the content repositories on scaife.perseus.org.

Some milestone elements are easier to map to CTS references than others, I'll circle back to provide samples for each kind.

This Gist has "cards" for Iliad and "paras" for some of the books in the Greek New Testament:

https://gist.github.com/jacobwegner/5d528ccafc5c0bec4309a61bdff17606