BUGFIX: $item is reference to hashref, not reference to hash.
[wip/koha-chris_n.git] / rss / lastAcquired-1.0.tmpl
1 <?xml version="1.0"?>
2 <rdf:RDF 
3  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
4  xmlns="http://purl.org/rss/1.0/"
5  xmlns:dc="http://purl.org/dc/elements/1.1/"
6 >
7   <channel rdf:about="<!-- TMPL_VAR NAME="CHANNELLINK" -->">
8         <title><!-- TMPL_VAR NAME="CHANNELTITLE" --></title>
9         <link><!-- TMPL_VAR NAME="CHANNELLINK" --></link>
10         <description><!-- TMPL_VAR NAME="CHANNELDESC" --></description>
11         <language><!-- TMPL_VAR NAME="CHANNELLANG" --></language>
12         <lastBuildDate><!-- TMPL_VAR NAME="CHANNELLASTBUILD" --></lastBuildDate>
13          <image rdf:about="<!-- TMPL_VAR NAME="IMAGEURL" -->">
14           <title><!-- TMPL_VAR NAME="IMAGETITLE" --></title>
15           <url><!-- TMPL_VAR NAME="IMAGEURL" --></url>
16           <link><!-- TMPL_VAR NAME="IMAGELINK" --></link>
17          </image>
18     <items>
19       <rdf:Seq>
20           <!-- TMPL_LOOP NAME="ITEMS" -->
21         <rdf:li resource="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"/>
22          <!-- /TMPL_LOOP -->
23       </rdf:Seq>
24     </items>
25 </channel>
26
27   <!-- TMPL_LOOP NAME="ITEMS" -->
28   <item rdf:about="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
29   <title><!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!-- TMPL_VAR AUTHOR --><!-- /TMPL_IF --></title>
30   <link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" --></link>
31 <description><![CDATA[<!-- TMPL_VAR NAME="TITLE" --><!-- TMPL_IF NAME="AUTHOR" --> by <!-- TMPL_VAR NAME="AUTHOR" --><!-- /TMPL_IF -->
32 <br><!-- TMPL_VAR NAME="place" --> <!-- TMPL_VAR NAME="publishercode" --> <!-- TMPL_VAR NAME="publicationyear" -->
33 <br><!-- TMPL_VAR NAME="pages" --><!-- TMPL_VAR NAME="illus" --><!-- TMPL_VAR NAME="size" -->
34 <!-- TMPL_IF NAME="notes" --><br><br><!-- TMPL_VAR NAME="notes" --><!-- /TMPL_IF --><br>
35 <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 -->
36 ]]></description>
37  </item>
38 <!-- /TMPL_LOOP -->
39 </rdf:RDF>