Koha/misc/cronjobs/rss/lastAcquired-1.0.tt
Jonathan Druart cd81bdc6a0 Bug 21526: Use the 'url' filter when needed
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2018-11-12 16:35:43 -03:00

39 lines
2.1 KiB
XML

<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<channel rdf:about="[% CHANNELLINK | html %]">
<title>[% CHANNELTITLE | html %]</title>
<link>[% CHANNELLINK | html %]</link>
<description>[% CHANNELDESC | html %]</description>
<language>[% CHANNELLANG | html %]</language>
<lastBuildDate>[% CHANNELLASTBUILD | html %]</lastBuildDate>
<image rdf:about="[% IMAGEURL | html %]">
<title>[% IMAGETITLE | html %]</title>
<url>[% IMAGEURL | html %]</url>
<link>[% IMAGELINK | html %]</link>
</image>
<items>
<rdf:Seq>
[% FOREACH i IN ITEMS %]
<rdf:li resource="[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% ibiblionumber | html %]"/>
[% END %]
</rdf:Seq>
</items>
</channel>
[% FOREACH i IN ITEMS %]
<item rdf:about="[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]">
<title>[% i.TITLE | html %][% IF i.AUTHOR %] by [% i.AUTHOR | html %][% END %]</title>
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber | html %]</link>
<description><![CDATA[[% TITLE | html %][% IF i.AUTHOR %] by [% i.AUTHOR | html %][% END %]
<br>[% place | html %] [% i.publishercode | html %] [% i.publicationyear | html %]
<br>[% pages | html %] [% i.illus | html %] [% i.size | html %]
[% IF i.notes %]<br><br>[% i.notes | html %][% END %]<br>
<a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber | uri %]">View Details</a> | <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-reserve.pl?biblionumber=[% i.biblionumber | uri %]">Reserve this Item</a>[% IF i.author %] | <a href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?marclist=biblio.author&amp;and_or=and&amp;excluding=&amp;operator=contains&amp;value=[% i.author | uri %]&amp;resultsperpage=20&amp;orderby=biblio.title&amp;op=do_search">More by this Author</a>[% END %]
]]></description>
</item>
[% END %]
</rdf:RDF>