Skip to content

Instantly share code, notes, and snippets.

View rococodogs's full-sized avatar

Anna Malantonio rococodogs

View GitHub Profile
@rococodogs
rococodogs / islandora_datastream_dc.md
Last active August 18, 2017 15:09 — forked from jrgriffiniii/islandora_datastream_dc.md
Working with Dublin Core Datastreams within Islandora

Working with Dublin Core Datastreams within Islandora

First, retrieve the DC Document using cURL:

$ curl http://digital.stage.lafayette.edu/islandora/object/elc:10/datastream/DC/view

<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:title>Ledger 1</dc:title>
  <dc:identifier>elc:10</dc:identifier>
@rococodogs
rococodogs / trumpy-to-catcher.js
Last active August 29, 2015 13:56 — forked from rococodogs/trumpy.js
updated version of trumpy, sending serials solution ill request to our new catcher page
// hacky fix to replace the link in "Go to request form" for interlibrary loans
// with a dynamic link to our ILL catcher.
// v. 3, 3/10/14
(function() {
var item = {
"atitle" : document.getElementById("CitationJournalArticleValue")
|| document.getElementById("CitationBookChapterValue") || undefined