Open jacobwegner opened 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:
Compared to http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0185%3Acard%3D155:
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
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
Given the existing functionality on P4 and the "card" annotations we have in the TEI XML:
refs: