Skip to content

Commit

Permalink
Upgrade vufindharvest.
Browse files Browse the repository at this point in the history
  • Loading branch information
demiankatz committed Apr 6, 2017
1 parent ec4a6af commit 2b0a38d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -25,7 +25,7 @@
"symfony/yaml": "3.2.7",
"swagger-api/swagger-ui": "2.2.10",
"vufind-org/vufindcode": "1.0.3",
"vufind-org/vufindharvest": "2.2.0",
"vufind-org/vufindharvest": "2.3.0",
"vufind-org/vufindhttp": "2.1.1",
"yajra/laravel-pdo-via-oci8": "1.3.1",
"zendframework/zend-cache": "2.7.2",
Expand Down
16 changes: 15 additions & 1 deletion harvest/oai.ini
Expand Up @@ -24,6 +24,7 @@
; sslcafile = "/etc/pki/tls/cert.pem" ; e.g. for CentOS systems
; sslverifypeer = true
; sanitize = true
; sanitizeRegex[] = "/[^\x{0009}\x{000a}\x{000d}\x{0020}-\x{D7FF}\x{E000}-\x{FFFD}]+/u"
; badXMLLog = bad.log
; httpUser = myUsername
; httpPass = myPassword
Expand Down Expand Up @@ -60,6 +61,11 @@
; attributes to this tag, e.g., <collection attr="value"> will correctly
; wrap the records in <collection attr="value"></collection> tags.
;
; globalSearch[] and globalReplace[] may be used to manipulate the raw XML metadata
; documents with regular expressions. This should be used with caution but can be
; helpful when compensating for server-side encoding/markup errors. You may use
; multiple pairs of search and replace settings to perform multiple manipulations.
;
; idPrefix is the OAI-specific prefix attached to ID values. If you provide the
; value here, it will be automatically stripped for you when generating filenames,
; injecting IDs and tracking deleted records. If you omit the setting, full
Expand Down Expand Up @@ -120,6 +126,10 @@
; sanitize may be set to true to strip illegal characters from XML responses; it
; defaults to false, assuming that the OAI-PMH server you are harvesting from will
; provide you with valid data.
;
; sanitizeRegex may be set to an array of regex strings used to sanitize XML retrieved
; from an OAI-PMH source. Any text sequences matching these expressions will be
; replaced with blank spaces.
;
; badXMLLog may be set to a filename (which will be created within your harvest
; directory) to contain copies of bad XML that was fixed when the sanitize setting
Expand All @@ -140,4 +150,8 @@
;idSearch[] = "/\//"
;idReplace[] = "-"
;injectId = "identifier"
;injectDate = "datestamp"
;injectDate = "datestamp"
;
; Further examples for harvesting OAI-PMH sources available to the general
; public may be found on this wiki page:
; https://vufind.org/wiki/indexing:open_data_sources

0 comments on commit 2b0a38d

Please sign in to comment.