-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.xsl
111 lines (98 loc) · 3.92 KB
/
configuration.xsl
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet []>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="#default"
version="1.0">
<!--
This file was produced for the Cheshire3 for Archives and the Archives Hub.
Copyright © 2005-2013 the University of Liverpool
-->
<!-- Host machine address -->
<xsl:variable name="host" select="'localhost'"/>
<!--
Administrator configurable 'switches'
for each option, you may set the 'select' attribute to:
"true()"
"false()"
-->
<xsl:variable name="link_to_archon" select="true()"/>
<xsl:variable name="link_to_hubmap" select="true()"/>
<xsl:variable name="finding_aid_metadata" select="true()"/>
<xsl:variable name="count_subordinates_in_summary" select="true()"/>
<xsl:variable name="horizontal_rule_between_units" select="true()"/>
<!-- external resource link switches -->
<xsl:variable name="link_to_amazon" select="false()" />
<xsl:variable name="link_to_copac" select="true()"/>
<xsl:variable name="link_to_googlemaps" select="true()"/>
<xsl:variable name="link_to_wikipedia" select="false()"/>
<!-- other configuration parameters -->
<!-- Archon -->
<xsl:param name="archon_url">
<xsl:text>http://www.archon.nationalarchives.gov.uk/archon/searches/locresult_details.asp?LR=</xsl:text>
</xsl:param>
<xsl:param name="archon_icon">
<xsl:text>http://www.nationalarchives.gov.uk/favicon.ico</xsl:text>
</xsl:param>
<!-- Archives Hub Contributors Map -->
<xsl:param name="hubmap_url">
<xsl:text>/contributorsmap/index.html?archonid=</xsl:text>
</xsl:param>
<xsl:param name="hubmap_icon">
<xsl:text>http://maps.google.co.uk/favicon.ico</xsl:text>
</xsl:param>
<!-- Amazon -->
<xsl:param name="amazon_base_url">
<xsl:text>http://www.amazon.co.uk</xsl:text>
</xsl:param>
<xsl:param name="amazon_search_url">
<xsl:value-of select="$amazon_base_url" />
<xsl:text>/s/?initialSearch=1&url=search-alias%3Daps&field-keywords=</xsl:text>
</xsl:param>
<xsl:param name="amazon_search_icon">
<xsl:value-of select="$amazon_base_url" />
<xsl:text>/favicon.ico</xsl:text>
</xsl:param>
<!-- Copac -->
<xsl:param name="copac_base_url">
<xsl:text>http://copac.ac.uk</xsl:text>
</xsl:param>
<xsl:param name="copac_search_url">
<xsl:value-of select="$copac_base_url" />
<xsl:text>/wzgw?form=qs&fs=Search</xsl:text>
</xsl:param>
<xsl:param name="copac_search_link_title">
<xsl:text>look for this in research libraries</xsl:text>
</xsl:param>
<xsl:param name="copac_search_icon">
<xsl:value-of select="$copac_base_url" />
<xsl:text>/images/logos/copac/copac-green-no-strap-20x61.png</xsl:text>
</xsl:param>
<!-- Google -->
<xsl:param name="googlemaps_base_url">
<xsl:text>http://maps.google.co.uk</xsl:text>
</xsl:param>
<xsl:param name="googlemaps_search_url">
<xsl:value-of select="$googlemaps_base_url" />
<xsl:text>/maps?ie=UTF8&hl=en&q=</xsl:text>
</xsl:param>
<xsl:param name="googlemaps_search_link_title">
<xsl:text>Look up location in Google Maps</xsl:text>
</xsl:param>
<xsl:param name="googlemaps_search_icon">
<xsl:value-of select="$googlemaps_base_url" />
<xsl:text>/favicon.ico</xsl:text>
</xsl:param>
<!-- Wikipedia -->
<xsl:param name="wikipedia_base_url">
<xsl:text>http://en.wikipedia.org</xsl:text>
</xsl:param>
<xsl:param name="wikipedia_search_url">
<xsl:value-of select="$wikipedia_base_url" />
<xsl:text>/wiki/Special:Search/</xsl:text>
</xsl:param>
<xsl:param name="wikipedia_search_icon">
<xsl:value-of select="$wikipedia_base_url" />
<xsl:text>/favicon.ico</xsl:text>
</xsl:param>
</xsl:stylesheet>