View | Details | Raw Unified | Return to bug 41988
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-news-rss.tt (-4 / +5 lines)
Lines 6-26 Link Here
6
    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
6
    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
7
        <channel>
7
        <channel>
8
            <atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-main.pl" rel="self" type="application/rss+xml" />
8
            <atom:link href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-main.pl" rel="self" type="application/rss+xml" />
9
            <title>
9
            <title
10
                ><![CDATA[
10
                [% IF ( LibraryNameTitle ) %]
11
                [% IF ( LibraryNameTitle ) %]
11
                    [% tx("News from {library} catalog", { library = LibraryNameTitle }) | html %]
12
                    [% tx("News from {library} catalog", { library = LibraryNameTitle }) | html %]
12
                [% ELSE %]
13
                [% ELSE %]
13
                    [% t("News from the library") | html %]
14
                    [% t("News from the library") | html %]
14
                [% END %]
15
                [% END %]
16
                ]]>
15
            </title>
17
            </title>
16
            <!-- prettier-ignore-start -->
18
            <!-- prettier-ignore-start -->
17
      <link>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl</link>
19
      <link>[% OPACBaseURL | url %]/cgi-bin/koha/opac-main.pl</link>
18
      <!-- prettier-ignore-end -->
20
      <!-- prettier-ignore-end -->
19
            <description></description>
21
            <description></description>
20
            [% FOREACH newsitem IN koha_news %]
22
            [% FOREACH newsitem IN koha_news %]
21
                <item>
23
                <item>
22
                    <title>[% newsitem.title | html %]</title>
24
                    <title>[% newsitem.title | html %]</title>
23
                    <description>[% newsitem.content | $raw %]</description>
25
                    <description><![CDATA[[% newsitem.content | $raw %]]]></description>
24
                    <guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.additional_content_id | html %]</guid>
26
                    <guid>[% OPACBaseURL | html %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.additional_content_id | html %]</guid>
25
                </item>
27
                </item>
26
            [% END %]
28
            [% END %]
27
- 

Return to bug 41988