Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves-rss.tt
Jonathan Druart bb4543f7db Bug 16599: Fix other potentials XSS for shelfname
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
2016-05-30 11:12:15 +00:00

23 lines
589 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>[% shelf.shelfname | html %]</title>
<link>[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;viewshelf=[% shelf.shelfnumber %]</link>
<description>RSS feed for public list [% shelf.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>