srophe / syriaca-data

Repository for Syriaca.org TEI data, used by srophe-eXist-app.
4 stars 16 forks source link

Replace CBSC links in persons, places, and works to new CBSS keywords #1184

Open wlpotter opened 3 months ago

wlpotter commented 3 months ago

We currently have links that point to the old CBSC server. We can replace those to point either to the Zotero library filtered by tag or to a faceted browse once the new CBSS goes live on the Syriaca srophe app

A few scratch notes on this transform:

In tei:bibl with ptr/@target of http://syriaca.org/bibl/5 (i.e., the bibl for CBSC) there may be one or more tei:citedRange with @unit=entry (maybe 0+) have http://www.csc.org.il/db/browse.aspx?db=SB&sL=E&sK=Ephraim&sT=keywords (using "Ephraim" as an example keyword)

We also have this in an idno: http://www.csc.org.il/db/browse.aspx?db=SB&sL=E&sK=Ephrem&sT=keywords

I think we want to find these, extract and match the keyword (figuring out escape character replacement needed)

As an example with spaces that would need to be escaped:

https://www.zotero.org/groups/4861694/a_comprehensive_bibliography_on_syriac_studies/tags/Abraham%20of%20Natpar/library

from: http://www.csc.org.il/db/browse.aspx?db=SB&sL=A&sK=Abraham%20of%20Natpar&sT=keywords

wlpotter commented 1 month ago

Updates on this:

Note to self when running in basex: