Warning: This page has not been updated in over over a year and may be outdated or deprecated.
indexing:eprints
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
importing_records:how_to_index_eprints_with_vufind [2012/07/30 16:41] – demiankatz | indexing:eprints [2015/12/14 18:14] – [4. Set Up Change Tracking (optional)] demiankatz | ||
---|---|---|---|
Line 3: | Line 3: | ||
// Tips and configurations courtesy of Ranju Upadhyay, National University of Ireland Maynooth. // | // Tips and configurations courtesy of Ranju Upadhyay, National University of Ireland Maynooth. // | ||
- | As our repo is EPrints, I have needed to do the configuration in VuFind for data harvest from EPrints. | + | As our repo is EPrints, I have needed to do the configuration in VuFind for data harvest from EPrints. |
On the EPrints side, the data is already exposed for harvesting in oai_dc, so there was no configuration needed there. | On the EPrints side, the data is already exposed for harvesting in oai_dc, so there was no configuration needed there. | ||
Line 65: | Line 65: | ||
</ | </ | ||
</ | </ | ||
+ | </ | ||
+ | |||
+ | ===== 4. Set Up Change Tracking (optional) ===== | ||
+ | |||
+ | If you need to track record change dates (see [[tracking_record_changes|Tracking Record Changes]] for details), you need to do a couple of extra things: | ||
+ | |||
+ | * Uncomment the injectDate line in the oai.ini file section above. | ||
+ | * Add these lines to eprints.properties: | ||
+ | |||
+ | < | ||
+ | track_changes = 1 | ||
+ | solr_core = " | ||
+ | </ | ||
+ | |||
+ | * Add these lines to eprints.xsl: | ||
+ | |||
+ | First, after the other parameter declarations: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | Further down, among the other field population code: | ||
+ | |||
+ | < | ||
+ | <xsl:if test=" | ||
+ | <field name=" | ||
+ | < | ||
+ | </ | ||
+ | <field name=" | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
</ | </ | ||
---- struct data ---- | ---- struct data ---- | ||
---- | ---- | ||
indexing/eprints.txt · Last modified: 2023/11/28 20:08 by demiankatz