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>
34 lines
1.7 KiB
XML
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>[% OPACBaseURL %]/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="[% 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 %]
|
|
|
|
</channel>
|
|
</rss>
|