Hi Timothy,
Been working on the same thing, but importing from CSVs as opposed to XML.
I’ve had success using the purl.org identifiers e.g.:
http://purl.org/asc/1297.0/2008/for/039901
http://purl.org/asc/1297.0/2008/for/060205
http://purl.org/asc/1297.0/2008/for/060808
You can find out the purl.org identifier by searching for the FOR code in Mint.
The ReDBox documentation says that the Alerts system isn’t smart enough to resolve FOR/SEO codes to Mint identifiers by itself.
Regards,
Matthias Liffers
BCompSc
W.Aust. MInfoStud CSturt AALIA (CP)
Coordinator, Research Services | University Library
Curtin University
Tel |
+61 8 9266 2439
Fax |
+61 8 9266 4185
Email |
matthias...@curtin.edu.au
Web |
http://library.curtin.edu.au
--
-- Website: http://www.redboxresearchdata.com.au
You received this message because you are subscribed to the Google Groups ReDBox group. To post to this group, send email to
redbo...@googlegroups.com. To unsubscribe from this group, send email to
redbox-repo...@googlegroups.com. For more options, visit this group at
https://groups.google.com/d/forum/redbox-repo?hl=en
---
You received this message because you are subscribed to the Google Groups "ReDBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
redbox-repo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Timothy,
We use the following configuration in our ReDBox rifXmlMap.json for FOR and SEO codes:
"/rif:registryObjects/rif:registryObject/rif:collection/rif:subject[@type='anzsrc-for']":{
".":"dc:subject.anzsrc:for.0.skos:prefLabel",
"@termIdentifier":"dc:subject.anzsrc:for.0.rdf:resource"
},
"/rif:registryObjects/rif:registryObject/rif:collection/rif:subject[@type='anzsrc-seo']":{
".":"dc:subject.anzsrc:seo.0.skos:prefLabel",
"@termIdentifier":"dc:subject.anzsrc:seo.0.rdf:resource"
},
This will successfully parse the following XML (similar for SEO codes):
<subject termIdentifier="http://purl.org/asc/1297.0/2008/for/120102" type="anzsrc-for">120102 - Architectural Heritage and Conservation</subject>
Kind regards,
James
James Moyon | Senior Information Technologist | Research and Data Management Support
University of South Australia | E: james...@unisa.edu.au
CRICOS Provider No: 00121B
Page content template error: display/package-dataset/detail Traceback (most recent call last): File "default/redbox/scripts/display/package-dataset/detail.py", line 144, in getAnzsrcCode AttributeError: 'NoneType' object has no attribute 'rfind'