From a0a57b9526c244771aac57ad3ac3dee5dec1a16e Mon Sep 17 00:00:00 2001 From: Christophe Croullebois Date: Tue, 17 May 2011 10:16:07 +1200 Subject: [PATCH] Bug 6147 : Correcting invalid RSS Signed-off-by: Liz Rea Feed validates using http://feed1.w3.org/ with the following recommendations: This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations. line 12, column 149: Relative href value on self link: /cgi-bin/koha/opac-search.pl?idx=kw&q=some&sort_by=acqdate_dsc&format=rss2 [help] ... p;sort_by=acqdate_dsc&format=rss2"/> ^ line 12, column 149: Self reference doesn't match document location [help] ... p;sort_by=acqdate_dsc&format=rss2"/> ^ line 20, column 158: Unregistered link relationship: search (10 occurrences) [help] ... _by=&format=opensearchdescription"/> ^ line 40, column 9: description should not contain relative URL references: /cgi-bin/koha/opac-reserve.pl?biblionumber=10 (10 occurrences) [help] ]]> ^ line 22, column 5: Misplaced Item (9 occurrences) [help] Signed-off-by: Paul Poulain --- .../prog/en/modules/opac-opensearch.tt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tt index 07103440ba..14a5f3ea95 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-opensearch.tt @@ -14,11 +14,12 @@ [% IF ( rss2 ) %] <![CDATA[[% LibraryName |html %] Search [% IF ( query_desc ) %]for '[% query_desc |html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc |html %]'[% END %]]]> [% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&format=rss2 - + [% total %] [% offset %] @@ -27,20 +28,19 @@ [% ELSE %] 20 [% END %] -