[Koha-bugs] [Bug 16111] RSS feed for OPAC search results has wrong content type

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 20 08:38:38 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16111

--- Comment #54 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I've been using the Feed validator here. There are still 2 issues:

https://validator.w3.org/feed/check.cgi

- The link element in the item element is wrong with the href, it shoudl be
<link>url</link>
- There can't be elements between the item elements. I believe they go into the
first part, before the item elements are listed and not repeated before each
item element:

      <atom:link rel="search" type="application/opensearchdescription+xml"
href="[% OPACBaseURL | url %]/cgi-bin/koha/opac-search.pl?[%
SEARCH_RESULT.query_cgi | $raw %][% SEARCH_RESULT.limit_cgi | $raw
%]&sort_by=[% SEARCH_RESULT.sort_by |uri
%]&format=opensearchdescription"/>
      <opensearch:Query role="request" searchTerms="[% SEARCH_RESULT.query_desc
|uri %][% SEARCH_RESULT.limit_desc |uri %]" startPage="[% SEARCH_RESULT.page |
html %]" />

Was checking here:
https://github.com/dewitt/opensearch/blob/master/opensearch-1-1-draft-6.md#opensearch-response-elements

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list