[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
Wed Aug 7 17:09:22 CEST 2019


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #81285|0                           |1
        is obsolete|                            |
  Attachment #81286|0                           |1
        is obsolete|                            |
  Attachment #81287|0                           |1
        is obsolete|                            |
  Attachment #81288|0                           |1
        is obsolete|                            |

--- Comment #44 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 92050
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=92050&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...

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


More information about the Koha-bugs mailing list