-
Notifications
You must be signed in to change notification settings - Fork 1
Use Case Recipes
Here are some ideas for how your institution might use this software.
I want to make available an OAI-PMH metadata provider via ResourceSync. My OAI-PMH provider's base URL is
http://example.com/oai/provider. I will host the ResourceSync sitemap documents athttp://test.comwith the Apache 2 HTTP Server. The collection's setSpec istestcoland the records are MODS XML. I want ResourceSync documents for this collection be available athttp://test.com/resourcesync/testcol/.
This is my first time generating RS documents for this collection.
sudo python3 oaipmh-rs-src.py http://test.com apache http://example.com/oai/provider mods resourcelist testcolI made changes to one or more records in
testcol(i.e., RS documents already exist for this collection).
sudo python3 oaipmh-rs-src.py http://test.com apache http://example.com/oai/provider mods new_changelist testcolI want to populate a Solr index with OAI-PMH resources from one or more content providers. I want to use ResourceSync to do this. I have a local TinyDB instance at
/my/tiny/db.jsonwith one row per resource set (according to the schema) and a Solr index athttp://example.com/solr/resourcesync. I want to update Solr every Sunday at 2 AM.
# /etc/crontab
...
0 2 * * 0 root python3 oaipmh-rs-dest.py /my/tiny/db.json http://example.com/solr/resourcesync