[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 Jul 17 18:58:02 CEST 2018


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

--- Comment #27 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 77060
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77060&action=edit
Bug 16111: (follow-up) Fixes for simplicity and validation

This patch simplifies the OPAC search results feed template by adding
BLOCKs for a couple of repeated sections. The same is done for the feed
URL in the search results template.

This patch also makes some changes to the markup of the rss and Atom
feeds to improve their validity.

To test, apply the patch and perform a search in the OPAC. Clicking the
RSS icon at the top of the search results page should bring up the RSS
feed, which should render correctly.

If you validate the source it should return only a couple of
"recommendations:"
  - "Self reference doesn't match document location"
  - "Unregistered link relationship: search"

Perform the same test with the Atom feed by modifying the URL of the RSS
feed in your browser so that it ends in "format=atom" instead of
"format=rss"

The Atom feed has some more serious validation issues but should be
functional.

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


More information about the Koha-bugs mailing list