]> git.koha-community.org Git - koha.git/blob - koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt
Bug 14544: QA fixes - some minor bug fixes
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-news-rss.tt
1 <?xml version="1.0"?>
2 <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
3    <channel>
4       <atom:link href="[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl" rel="self" type="application/rss+xml" />
5       <title>News from [% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]the library[% END %]</title>
6       <link>[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl</link>
7       <description></description>
8       [% FOREACH newsitem IN koha_news %]
9       <item>
10         <title>[% newsitem.title |html %]</title>
11         <description>[% newsitem.new |html %]</description>
12       </item>
13       [% END %]
14    </channel>
15 </rss>