BUGFIX: $item is reference to hashref, not reference to hash.
[wip/koha-chris_n.git] / rss / lastAcquired-2.0.tmpl
1 <?xml version="1.0"?>
2 <rss version="2.0">
3         <channel>
4                 <title><!-- TMPL_VAR NAME="CHANNELTITLE" --></title>
5                 <link><!-- TMPL_VAR NAME="CHANNELLINK" --></link>
6                 <description><!-- TMPL_VAR NAME="CHANNELDESC" --></description>
7                 <language><!-- TMPL_VAR NAME="CHANNELLANG" --></language>
8                 <lastBuildDate><!-- TMPL_VAR NAME="CHANNELLASTBUILD" --></lastBuildDate>
9                 <docs>http://blogs.law.harvard.edu/tech/rss</docs>
10                 <generator>Koha</generator>
11                 <image>
12                         <title><!-- TMPL_VAR NAME="IMAGETITLE" --></title>
13                         <url><!-- TMPL_VAR NAME="IMAGEURL" --></url>
14                         <link><!-- TMPL_VAR NAME="IMAGELINK" --></link>
15                         <width><!-- TMPL_VAR NAME="IMAGEWIDTH" --></width>
16                         <height><!-- TMPL_VAR NAME="IMAGEHEIGHT" --></height>
17                         <description><!-- TMPL_VAR NAME="IMAGEDESCRIPTION" --></description>
18                 </image>
19
20 <!-- TMPL_LOOP NAME="ITEMS" -->
21  <item>
22   <title><!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!-- TMPL_VAR NAME="AUTHOR" --><!-- /TMPL_IF --></title>
23   <link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" --></link>
24 <description><![CDATA[<!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!-- TMPL_VAR NAME="AUTHOR" --><!-- /TMPL_IF -->
25 <br><!-- TMPL_IF NAME="publishercode" --><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" --><br><!-- /TMPL_IF -->
26 <!-- TMPL_IF NAME="pages" --><!-- TMPL_VAR NAME="pages" --><!-- TMPL_VAR NAME="illus" --><!-- TMPL_VAR NAME="size" --><!-- /TMPL_IF -->
27 <!-- TMPL_IF NAME="notes" --><p><!-- TMPL_VAR NAME="notes" --></p><!-- /TMPL_IF --><br>
28 <a href="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">View Details</a> | <a href="http://opac.library.org.nz/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Reserve this Item</a><!-- TMPL_IF NAME="author" --> | <a href="http://opac.library.org.nz/cgi-bin/koha/opac-search.pl?marclist=biblio.author&amp;and_or=and&amp;excluding=&amp;operator=contains&amp;value=<!-- TMPL_VAR NAME="author" -->&amp;resultsperpage=20&amp;orderby=biblio.title&amp;op=do_search">More by this Author</a><!-- /TMPL_IF -->
29 ]]></description>
30  </item>
31 <!-- /TMPL_LOOP -->
32
33 </channel>
34 </rss>