From 408652b417571105742032f6df8a907bb5bc87b7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 31 Aug 2012 09:04:13 -0400 Subject: [PATCH] [SIGNED-OFF] Bug 8708 - RSS feed for new comments is broken Removing white space from the beginning of the file so that XML processing will work correctly. Before the patch, viewing the page (/cgi-bin/koha/opac-showreviews.pl?format=rss) in a browser which supports RSS handling (ex: Firefox) will show you unformatted and broken-looking text. After the patch the page will trigger the browser's built-in RSS-handling format. Signed-off-by: Nicole C. Engard The recent comments feed works as expected now. Signing off. --- .../prog/en/modules/opac-showreviews-rss.tt | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-showreviews-rss.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-showreviews-rss.tt index 2159022..9a4812e 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-showreviews-rss.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-showreviews-rss.tt @@ -1,6 +1,4 @@ -[% USE KohaDates %] - - +[% USE KohaDates %] <![CDATA[[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] Catalog Recent Comments]]> -- 1.7.2.3