From fafd719dd34aeb4e96377f4404a53df589138efd 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 --- .../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 5496dec0c5..bc26e9db5d 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 @@ [% INCLUDE 'biblio-title-head.inc' biblio=SEARCH_RESULT %] 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 %]