https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41988
Bug ID: 41988
Summary: OPAC: News RSS links with HTML not working
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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- Open the OPAC:
https://princeville-test.styx.inlibro.net/cgi-bin/koha/opac-main.pl
2- Go to Tools -> HTML customizations -> News
3- Click New Entry with the following settings:
3-1- Display location: OPAC
3-2- Publication date: today
3-3- Title: "News test"
3-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>
4- Save the entry.
5- Go to the OPAC and copy the "RSS feed for system-wide library news" link.
6- 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.
7- 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".
--
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/