srophe / srophe-eXist-app

DEPRECATED eXist code for Syriaca.org: The Syriac Reference Portal
GNU General Public License v3.0
10 stars 12 forks source link

Facoid page, pull text from Corpus using URN #1177

Closed dlschwartz closed 4 years ago

dlschwartz commented 4 years ago

@wsalesky can we pull text from the Corpus using URN and display it on the factoid page? These are bibl elements with type="urn". https://github.com/srophe/srophe-app-data/blob/dev/data/spear/tei/8559.xml#L100 Thanks.

wsalesky commented 4 years ago

@wsalesky Note to self, need to use ajax to load this (make sure CORS is enabled).

wsalesky commented 4 years ago

@wsalesky Note: works beautifully locally but throwing an error on dev.

wsalesky commented 4 years ago

@dlschwartz Success, finally! Sorry it took so long. See: http://wwwb.library.vanderbilt.edu/exist/apps/srophe/spear/factoid.html?id=http://syriaca.org/spear/8559-1

as an example.

dlschwartz commented 4 years ago

@wsalesky excellent! Thanks so much. Interestingly, I'm getting it on Firefox but not Chrome. I've done a hard refresh a couple of times. I'll try clearing the cache. It's great to have the Syriac back. Thansks.

dlschwartz commented 4 years ago

Clearing the cache worked. Thanks.