Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves-rss.tt
Kyle M Hall d90b6d2ba2 Bug 1917 - Add RSS Feeds for Lists
Test Plan:
1) Apply this patch
2) Create one or more public lists
3) View the list in the opac
4) Note the new RSS icon next to the list name
5) Open the link in FireFox or an RSS reader
6) You should see an RSS feed of your list with the title
   and author of each item as a hyperlink to the record details

Signed-off-by: Nicole Engard <nengard@bywatersolutions.com>

Followed test plan. Works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

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:08:36 -03:00

18 lines
505 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 | html %]</link>
<description>RSS feed for public list [% shelfname | html %]</description>
[% FOREACH i IN itemsloop %]
<item>
<title>[% i.title %] by [% i.author %]</title>
<link>[% OPACBaseURL %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% i.biblionumber %]</link>
</item>
[% END %]
</channel>
</rss>