Koha/misc/cronjobs/rss/lastAcquired-2.0.tt
Bernardo Gonzalez Kriegel fe0709477a Bug 9000: Followup to fix tabs & closing TT directive
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-07-29 16:25:56 -03:00

34 lines
1.7 KiB
XML

<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>[% CHANNELTITLE %]</title>
<link>[% CHANNELLINK %]</link>
<description>[% CHANNELDESC %]</description>
<language>[% CHANNELLANG %]</language>
<lastBuildDate>[% CHANNELLASTBUILD %]</lastBuildDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<generator>Koha</generator>
<image>
<title>[% IMAGETITLE %]</title>
<url>[% IMAGEURL %]</url>
<link>[% IMAGELINK %]</link>
<width>[% IMAGEWIDTH %]</width>
<height>[% IMAGEHEIGHT %]</height>
<description>[% IMAGEDESCRIPTION %]</description>
</image>
[% FOREACH i IN ITEMS %]
<item>
<title>[% i.TITLE %][% IF i.AUTHOR %] by [% i.AUTHOR %][% END %]</title>
<link>http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
<description><![CDATA[[% i.TITLE %][% IF i.AUTHOR %] by [% i.AUTHOR %][% END %]
<br>[% IF i.publishercode %][% i.place %] [% i.publishercode %] [% publicationyear %]<br>[% END %]
[% IF i.pages %][% i.pages %][% i.illus %][% i.size %][% END %]
[% IF i.notes %]<p>[% i.notes %]</p>[% END %]<br>
<a href="http://opac.library.org.nz/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]">View Details</a> | <a href="http://opac.library.org.nz/cgi-bin/koha/opac-reserve.pl?biblionumber=[% i.biblionumber %]">Reserve this Item</a>[% IF i.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=[% i.author %]&amp;resultsperpage=20&amp;orderby=biblio.title&amp;op=do_search">More by this Author</a>[% END %]
]]></description>
</item>
[% END %]
</channel>
</rss>