Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves-rss.tt
Kyle M Hall 503b8ffd68 Bug 1917 [QA Followup] - Use html filter, only show 'by' if author exists, change link title
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-04-29 12:09:23 -03:00

23 lines
564 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>[% shelfname %]</title>
<link>[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;viewshelf=[% shelfnumber %]</link>
<description>RSS feed for public list [% shelfname | html %]</description>
[% FOREACH i IN itemsloop %]
<item>
<title>
[% i.title | html %]
[% IF i.author %]
by [% i.author | html %]
[% END %]
</title>
<link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
</item>
[% END %]
</channel>
</rss>