[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
Thu Aug 22 16:38:22 CEST 2019


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

Liz Rea <wizzyrea at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #92050|0                           |1
        is obsolete|                            |
  Attachment #92363|0                           |1
        is obsolete|                            |
  Attachment #92366|0                           |1
        is obsolete|                            |

--- Comment #56 from Liz Rea <wizzyrea at gmail.com> ---
Created attachment 92435
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92435&action=edit
Bug 16111: Fix content type for RSS feed

Test plan:
GET
http://catalogue/cgi-bin/koha/opac-search.pl?idx=kw&q=perl&count=50&sort_by=acqdate_dsc&format=rss2

=> Without this patch it returns content type text/html
=> With this patch it returns text/xml

GET
http://catalogue/cgi-bin/koha/opac-search.pl?idx=kw&q=perl&count=50&sort_by=acqdate_dsc&format=rss
=> Without this patch it does not work
=> With this patch it returns text/xml

Bug 16111: Fix atom support

Bug 16111: Remove 'rss2' which should be 'rss' or 'atom'

Bug 16111: Replace <link> with <link href...

Signed-off-by: Liz Rea <wizzyrea at gmail.com>

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


More information about the Koha-bugs mailing list