forked from vufind-org/vufind
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathintech.properties
57 lines (56 loc) · 3.37 KB
/
intech.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
; XSLT Import Settings for InTech Open
; See also: https://vufind.org/wiki/indexing:open_data_sources:intech
[General]
; REQUIRED: Name of XSLT file to apply. Path is relative to the import/xsl directory
; of the VuFind installation (or your local override directory).
xslt = intech.xsl
; OPTIONAL: PHP function(s) to register for use within XSLT file. You may repeat
; this line to register multiple PHP functions.
;php_function[] = str_replace
; OPTIONAL: PHP class filled with public static functions for use by the XSLT file.
; The class must live within a PHP namespace. You may specify a fully-qualified
; name; if you do not include a namespace, the class will automatically be assumed
; to live in the \VuFind\XSLT\Import namespace.
custom_class[] = VuFind
custom_class[] = VuFindWorkKeys
; OPTIONAL: If true, all custom_class settings above will be passed to the XSLT with
; their namespaces stripped off; for example, \VuFind\XSLT\Import\VuFind would be
; treated as \VuFind in XSLT files. This allows more compact syntax within XSLT
; files, but it can lead to name conflicts if used carelessly. If set to false, you
; must use fully-qualified names in your XSLT. The false setting is recommended, but
; the current default is "true" for compatibility with legacy configurations.
truncate_custom_class = true
; XSLT parameters -- any key/value pairs set here will be passed as parameters to
; the XSLT file, allowing local values to be set without modifying XSLT code.
[Parameters]
institution = "My University"
collection = "InTech Open"
; By default, any URL beginning with "http" will be indexed; however, you can
; specify a more narrow prefix here if you wish to filter to a particular subset
; of URLs indexed into VuFind.
;urlPrefix = "http://hdl.handle.net"
; This setting specifies the name of the tag containing the record's unique ID; this
; is commonly injected as part of the harvest process (see injectId in oai.ini). If
; omitted, the value will default to "identifier". This may include a namespace
; prefix, but if so, it will be matched against the prefix in the input XML, not in
; the XSLT file.
id_tag_name = "identifier"
; These settings can be used to enable change-tracking in the Solr index. If you
; leave them commented out, changes will not be tracked. If you uncomment them, the
; first_indexed and last_indexed fields of the Solr index will be populated. The
; change_tracking_date_tag_name setting is the name of a tag containing the last
; modification date of the record (which can be injected using the injectDate setting
; in oai.ini, if you are using VuFind's OAI-PMH harvester). The change_tracking_core
; is the name of the Solr core for which changes are being tracked (and will default
; to "biblio" if not overridden here).
;change_tracking_core = "biblio"
;change_tracking_date_tag_name = "datestamp"
; These settings will influence work key generation for identifying record versions.
; You can define regular expressions to either specifically include or specifically
; exclude particular characters, and/or you can use Transliterator rules when
; generating keys to identify works. See
; https://unicode-org.github.io/icu/userguide/transforms/general/#icu-transliterators
; for more information on the transliteration rules.
workKey_include_regEx = ""
workKey_exclude_regEx = ""
workKey_transliterator_rules = ":: NFD; :: lower; :: Latin; :: [^[:letter:] [:number:]] Remove; :: NFKC;"