Jonathan Druart
cd81bdc6a0
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
17 lines
779 B
XML
17 lines
779 B
XML
[% USE raw %]
|
|
<?xml version="1.0"?>
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
<channel>
|
|
<atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-main.pl" rel="self" type="application/rss+xml" />
|
|
<title>News from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]the library[% END %]</title>
|
|
<link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl</link>
|
|
<description></description>
|
|
[% FOREACH newsitem IN koha_news %]
|
|
<item>
|
|
<title>[% newsitem.title | html %]</title>
|
|
<description>[% newsitem.content | $raw %]</description>
|
|
<guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.idnew | html %]</guid>
|
|
</item>
|
|
[% END %]
|
|
</channel>
|
|
</rss>
|