source: trunk/gsdl3/web/interfaces/nzdl/transform/home.xsl@ 6683

Last change on this file since 6683 was 6683, checked in by nzdl, 20 years ago

added some new text and colls and rearranged the colls a bit to keep in line with nzdl.org

  • Property svn:keywords set to Author Date Id Revision
File size: 9.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns:java="http://xml.apache.org/xslt/java"
5 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
6 extension-element-prefixes="java util"
7 exclude-result-prefixes="java util">
8
9 <xsl:include href="style.xsl"/>
10 <xsl:include href="home-text.xsl"/>
11 <xsl:include href="page-common.xsl"/>
12
13 <xsl:output method="html"/>
14
15 <xsl:template name="pageHead">
16 <head>
17 <title>
18 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'nzdl')"/>
19 </title>
20 <xsl:call-template name="headScript"/>
21 </head>
22 </xsl:template>
23
24 <xsl:template match="pageResponse">
25 <xsl:call-template name="nzdlPageBanner"/>
26 <center>
27 <xsl:apply-templates select="collectionList"/>
28 </center>
29 <center><xsl:call-template name="dividerBar"/></center>
30 <p />
31 <center><h2><xsl:call-template name="textprojhead"/></h2></center>
32
33 <table border='0' cellpadding='5'>
34 <xsl:call-template name="project_info"/>
35 <xsl:call-template name="software_info"/>
36 <xsl:call-template name="research_info"/>
37 <xsl:call-template name="affiliate_info"/>
38 </table>
39 <center>
40 <xsl:call-template name="dividerBar"/>
41 <xsl:call-template name="greenstone_info"/>
42 <p />
43 <xsl:call-template name="nzdlpagefooter"/>
44 <br />September 2003
45 </center>
46 </xsl:template>
47
48 <xsl:template name="project_info">
49 <tr valign='top'>
50 <td>
51 <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="mailto:[email protected]">Feedback</a></td></tr></table>
52 <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.nzdl.org/html/people.html">People</a></td></tr></table>
53 <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://greenstone.cs.uct.ac.za/gsdl/cgi-bin/library">African Digital Library Centre</a></td></tr></table>
54<table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://sadl.uleth.ca">Southern Alberta Digital Library Centre</a></td></tr></table>
55 </td>
56 <td><xsl:call-template name="textprojinfo"/></td>
57 </tr>
58 </xsl:template>
59
60 <xsl:template name="software_info">
61 <tr>
62 <td></td>
63 <th align='left'><xsl:call-template name="titlesoftwareinfo"/></th>
64 </tr>
65 <tr valign='top'>
66 <td>
67 <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="{$library_name}?a=p&amp;sa=gsdl">About<br />Greenstone 2</a></td></tr></table>
68 <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.greenstone.org/english/docs.html">Greenstone 2<br />Documentation</a></td></tr></table>
69 </td>
70 <td><xsl:call-template name="textsoftwareinfo"/></td>
71 </tr>
72 </xsl:template>
73
74 <xsl:template name="research_info">
75 <tr>
76 <td></td>
77 <th align='left'><xsl:call-template name="titleresearchinfo"/></th>
78 </tr>
79 <tr valign='top'>
80 <td>
81 <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.nzdl.org/html/research.html">Research</a></td></tr></table>
82 <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.nzdl.org/html/projects.html">Projects</a></td></tr></table>
83 <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.nzdl.org/html/software.html">Software<br />Downloads</a></td></tr></table>
84 <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.cs.waikato.ac.nz/~nzdl/publications/">Publications</a></td></tr></table>
85 </td>
86 <td><xsl:call-template name="textresearchinfo"/></td>
87 </tr>
88
89<!-- <tr valign='top'>
90 <td>
91 <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://nzdl2.cs.waikato.ac.nz/cgi-bin/zdemo/library">Z39.50<br />demo</a></td></tr></table>
92 </td><td>
93 We have an experimental facility for searching Z39.50 collections using Greenstone. Ultimately we plan a full bibliographic search facility, with the ability to combine tests on different fields, and to be able to search multiple collections, including cross-searching Greenstone and Z39.50 collections.
94 </td>
95 </tr>-->
96 </xsl:template>
97
98 <xsl:template name="affiliate_info">
99 <tr>
100 <td></td>
101 <th align='left'><xsl:call-template name="titleaffiliateinfo"/></th>
102 </tr>
103 <tr valign='top'>
104 <td>
105 <img src="interfaces/nzdl/images/ghproj.jpg" alt="Human Info NGO" width='100' height='90'/>
106 </td>
107 <td><xsl:call-template name="textaffiliatehumaninfo"/></td>
108 </tr>
109 <tr valign='top'>
110 <td><img src="interfaces/nzdl/images/unesco.gif" alt="UNESCO" width='100' height='90' />
111 </td>
112 <td><xsl:call-template name='textaffiliateunesco'/></td>
113 </tr>
114 </xsl:template>
115
116 <xsl:template match="collection">
117 <xsl:variable name="ct"><xsl:choose><xsl:when test="metadataList/metadata[@name='buildType']='mgpp'">1</xsl:when><xsl:otherwise>0</xsl:otherwise></xsl:choose></xsl:variable>
118 <p />
119 <a href="{$library_name}?a=p&amp;sa=about&amp;c={@name}&amp;ct={$ct}">
120 <img width="150" border="1">
121 <xsl:attribute name="src">
122 <xsl:value-of select="metadataList/metadata[@name='httpPath']"/>/images/<xsl:choose><xsl:when test="displayItem[@name='smallicon']"><xsl:value-of select="displayItem[@name='smallicon']"/></xsl:when><xsl:otherwise><xsl:value-of select="displayItem[@name='icon']"/></xsl:otherwise></xsl:choose>
123 </xsl:attribute>
124 <xsl:attribute name="alt">
125 <xsl:value-of select="displayItem[@name='name']"/>
126 </xsl:attribute>
127 </img>
128 </a>
129 <p />
130 </xsl:template>
131
132
133 <xsl:template match="collectionList">
134 <center>
135 <xsl:call-template name="dividerBar"><xsl:with-param name="text">Humanitarian and UN collections</xsl:with-param></xsl:call-template>
136 <p /><xsl:call-template name="collectfao"/>
137 <xsl:call-template name="dividerBar"><xsl:with-param name="text">Demonstration collections</xsl:with-param></xsl:call-template>
138 <p /><xsl:call-template name="collectrest"/>
139 </center>
140 </xsl:template>
141
142 <xsl:template name="collectfao">
143 <table width="537">
144 <tr valign='top'>
145 <td align='center'>
146 <p /><xsl:apply-templates select="collection[@name='hdl']"/>
147 <p /><xsl:apply-templates select="collection[@name='fnl']"/>
148 <p /><xsl:apply-templates select="collection[@name='envl']"/>
149 <p /><xsl:apply-templates select="collection[@name='aginfo']"/>
150 <p /><xsl:apply-templates select="collection[@name='gtz']"/>
151 <p /><xsl:apply-templates select="collection[@name='cdl']"/>
152 <p />firstaid<xsl:apply-templates select="collection[@name='firstaid']"/>
153 </td>
154 <td align='center'>
155 <p /><xsl:apply-templates select="collection[@name='mhl']"/>
156 <p /><xsl:apply-templates select="collection[@name='fnl1_1']"/>
157 <p /><xsl:apply-templates select="collection[@name='paho']"/>
158 <p /><xsl:apply-templates select="collection[@name='unesco']"/>
159 <p /><xsl:apply-templates select="collection[@name='muster']"/>
160 <p /><xsl:apply-templates select="collection[@name='aedl']"/>
161 <p /><xsl:apply-templates select="collection[@name='fi1998']"/>
162
163 </td>
164 <td align='center'>
165 <p /><xsl:apply-templates select="collection[@name='ccgi']"/>
166 <p /><xsl:apply-templates select="collection[@name='fnl2.2']"/>
167 <p /><xsl:apply-templates select="collection[@name='who']"/>
168 <p /><xsl:apply-templates select="collection[@name='tulane']"/>
169 <p /><xsl:apply-templates select="collection[@name='unaids']"/>
170 <p /><xsl:apply-templates select="collection[@name='ipc']"/>
171 <p /><xsl:apply-templates select="collection[@name='povsem']"/>
172 <p /><xsl:apply-templates select="collection[@name='faodocs']"/>
173 </td>
174 </tr>
175 </table>
176 </xsl:template>
177
178
179 <xsl:template name="collectrest">
180 <table width='537'>
181 <tr valign='top'>
182 <td align='center'>
183 <p /><xsl:apply-templates select="collection[@name='niupepa']"/>
184 <p />howto DL<xsl:apply-templates select="collection[@name='howto']"/>
185 <p /><xsl:apply-templates select="collection[@name='arabic']"/>
186 <p /><xsl:apply-templates select="collection[@name='chinese']"/>
187 <p /><xsl:apply-templates select="collection[@name='folktale']"/>
188 <p /><xsl:apply-templates select="collection[@name='demooai']"/>
189 <p /><xsl:apply-templates select="collection[@name='tidbits']"/>
190 <p /><xsl:apply-templates select="collection[@name='tcc']"/>
191 <p /><xsl:apply-templates select="collection[@name='jair']"/>
192 </td>
193 <td align='center'>
194 <p />meldex<xsl:apply-templates select="collection[@name='meldex']"/>
195 <p /><xsl:apply-templates select="collection[@name='wordpdf']"/>
196 <p /><xsl:apply-templates select="collection[@name='musvid']"/>
197 <p /><xsl:apply-templates select="collection[@name='gberg']"/>
198 <p /><xsl:apply-templates select="collection[@name='allshake']"/>
199 <p /><xsl:apply-templates select="collection[@name='aircraft']"/>
200 <p /><xsl:apply-templates select="collection[@name='csbib']"/>
201 <p /><xsl:apply-templates select="collection[@name='coltbib']"/>
202 </td>
203 <td align='center'>
204 <p /><xsl:apply-templates select="collection[@name='cstr']"/>
205 <p /><xsl:apply-templates select="collection[@name='gsarch']"/>
206 <p /><xsl:apply-templates select="collection[@name='ohist']"/>
207 <p /><xsl:apply-templates select="collection[@name='hcibib']"/>
208 <p /><xsl:apply-templates select="collection[@name='whist']"/>
209 <p /><xsl:apply-templates select="collection[@name='beowulf']"/>
210 <p /><xsl:apply-templates select="collection[@name='acrodemo']"/>
211
212 </td>
213 </tr>
214 </table>
215 </xsl:template>
216
217</xsl:stylesheet>
218
219
220
221
Note: See TracBrowser for help on using the repository browser.