https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41988
Owen Leonard <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194453|0 |1 is obsolete| | --- Comment #3 from Owen Leonard <[email protected]> --- Created attachment 194463 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194463&action=edit Bug 41988: OPAC News RSS links with HTML not working The news RSS link on the OPAC appears to be invalid when the news content contains HTML. Users cannot subscribe to the feed using standard RSS readers or email clients. To reproduce: 1- Go to Tools -> HTML customizations -> News 2- Click New Entry with the following settings: 2-1- Display location: OPAC 2-2- Publication date: today 2-3- Title: "News test" 2-4- Content: click on <> and paste some HTML code, for example: <span style="color: #ba372a; font-size: 12pt;">Le Prêt entre bibliothèques est mis en pause. Désolés de l'inconvénients.<br />Merci de votre compréhension.</span> 3- Save the entry. 4- Go to the OPAC and copy the "RSS feed for system-wide library news" link. 5- Execute: curl -v http://opac/cgi-bin/koha/opac-news-rss.pl?branchcode= and copy the XML output to https://validator.w3.org/feed/ to check the feed. ==> The feed is not valid. 6- Try to create a subscription to this link in an email client (e.g., Thunderbird). ==> It does not work, giving the error "Feed URL is not valid". 7- Apply the patch. 8- Repeat steps 5 and 6. ==> The feed is now a valid RSS. 9- Repeat step 7. ==> You can now subscribe to the RSS feed using standard readers and email clients. Signed-off-by: Owen Leonard <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
