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

add oai-pmh api #278

Closed wsalesky closed 9 years ago

wsalesky commented 9 years ago

Currently available on dev and prod, outputs dc and tei records. Still need to: 1) Need to test all verbs. 2) Add to rest.xqm 3) Add to api documentation 4) Add MADS?

wsalesky commented 9 years ago

@davidamichelson Do we want our OAI-PMH provider to output MADS records?

wsalesky commented 9 years ago

$identifier does not appear to work.

wsalesky commented 9 years ago

Work on resumptionToken. See: https://mapoflondon.uvic.ca/BLOG10.htm as example.

wsalesky commented 9 years ago

Change get GetRecords to GetRecord

wsalesky commented 9 years ago

GetRecord error: exerr:ERROR cannot convert xs:string('collection('/db/apps/srophe/data')//tei:TEI') to a node set [at line 211, column 53] In function: local:oai-get-record() [211:53:/db/apps/srophe/modules/oai.xql] local:oai-response() [459:61:/db/apps/srophe/modules/oai.xql]