From df9272bbef539b04640439bda6a9c6a8f7bc6b8c Mon Sep 17 00:00:00 2001 From: Liz Rea Date: Mon, 19 Aug 2019 01:51:04 +0000 Subject: [PATCH] Bug 16111: Further fixes to the RSS to make feed work - fixed links per the WC3 spec - fixed a problem in the ATOM link To test: do a search, click the RSS icon - it shows xml in most browsers but wont do RSS type things. Apply this patch, restart the things refresh the page, it should do RSS things (i.e. firefox should render it as a nice looking thing, rather than raw XML.) noting that there are a couple of validation errors still, but they don't seem to be show stopping and moreover I wasn't sure how to fix them: Misplaced Item Self reference doesn't match document location (this is a "for widest compatibility you should fix" kind of thing) Signed-off-by: Owen Leonard Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize (cherry picked from commit fafd719dd34aeb4e96377f4404a53df589138efd) Signed-off-by: Fridolin Somers --- .../opac-tmpl/bootstrap/en/modules/opac-opensearch.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt index 323de438fa..d4339e4fd2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt @@ -24,7 +24,7 @@ <![CDATA[[% LibraryName | html %] Search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %] with limit(s): '[% limit_desc | html %]'[% END %]]]> [% OPACBaseURL | html %]/cgi-bin/koha/opac-search.pl?[% query_cgi | $raw %][% limit_cgi | $raw %]&format=rss - + [% total | html %] [% offset | html %] @@ -40,11 +40,11 @@ [% SEARCH_RESULT.title | html %] [% FOREACH subtitl IN SEARCH_RESULT.subtitle %], [% subtitl.subfield | html %][% END %] ISBN [% SEARCH_RESULT.isbn | html %] [% IF ( SEARCH_RESULT.BiblioDefaultViewmarc ) %] - + [% OPACBaseURL | url %]/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %] [% ELSIF ( SEARCH_RESULT.BiblioDefaultViewisbd ) %] - + [% OPACBaseURL | url %]/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %] [% ELSE %] - + [% OPACBaseURL | url %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %] [% END %]