607b224f00
Links in rss templates were hardcoded to library.org.nz. Should pass and use the system's OPACBaseURL. Tested and verified. Signed-off-by: Eivin Giske Skaaren <eskaaren@yahoo.no> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
39 lines
1.8 KiB
XML
39 lines
1.8 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 %]">
|
|
<title>[% CHANNELTITLE %]</title>
|
|
<link>[% CHANNELLINK %]</link>
|
|
<description>[% CHANNELDESC %]</description>
|
|
<language>[% CHANNELLANG %]</language>
|
|
<lastBuildDate>[% CHANNELLASTBUILD %]</lastBuildDate>
|
|
<image rdf:about="[% IMAGEURL %]">
|
|
<title>[% IMAGETITLE %]</title>
|
|
<url>[% IMAGEURL %]</url>
|
|
<link>[% IMAGELINK %]</link>
|
|
</image>
|
|
<items>
|
|
<rdf:Seq>
|
|
[% FOREACH i IN ITEMS %]
|
|
<rdf:li resource="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% ibiblionumber %]"/>
|
|
[% END %]
|
|
</rdf:Seq>
|
|
</items>
|
|
</channel>
|
|
|
|
[% FOREACH i IN ITEMS %]
|
|
<item rdf:about="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]">
|
|
<title>[% i.TITLE %][% IF i.AUTHOR %] by [% i.AUTHOR %][% END %]</title>
|
|
<link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]</link>
|
|
<description><![CDATA[[% TITLE %][% IF i.AUTHOR %] by [% i.AUTHOR %][% END %]
|
|
<br>[% place %] [% i.publishercode %] [% i.publicationyear %]
|
|
<br>[% pages %] [% i.illus %] [% i.size %]
|
|
[% IF i.notes %]<br><br>[% i.notes %][% END %]<br>
|
|
<a href="[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]">View Details</a> | <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-reserve.pl?biblionumber=[% i.biblionumber %]">Reserve this Item</a>[% IF i.author %] | <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?marclist=biblio.author&and_or=and&excluding=&operator=contains&value=[% i.author %]&resultsperpage=20&orderby=biblio.title&op=do_search">More by this Author</a>[% END %]
|
|
]]></description>
|
|
</item>
|
|
[% END %]
|
|
</rdf:RDF>
|