Hello,
I am searching for a Debian package to parse RSS and validate it (XML well-formedness + compliance with the RSS 2.0 specification) from the command-line or from a few lines of code using a suitable library.
The reason is that package [apt-listbugs] (which I maintain) has a
feature that produces an RSS output.
[apt-listbugs]: <
https://tracker.debian.org/pkg/apt-listbugs>
I would like to add an autopkgtest test that parses some RSS output and
checks its validity.
But it doesn't look easy to find a Debian package that can automate
this check. Searching the web, I mainly find web applications that can
validate RSS (such as [W3C feed validator], which appears to be
DFSG-free and also usable on a localhost as a [Python program], but
it does not seem to be included in Debian).
[W3C feed validator]: <
https://validator.w3.org/feed/>
[Python program]: <
https://github.com/w3c/feedvalidator>
Which Debian package (command-line tool or simple-to-use library) would
you suggest to validate RSS (and maybe also to parse it)?
Please let me know your take on this subject.
Thanks for your time!
P.S.: Please Cc me on replies, as I am not subscribed to the mailing
list. Thanks!
--
http://www.inventati.org/frx/
There's not a second to spare! To the laboratory! ..................................................... Francesco Poli .
GnuPG key fpr == CA01 1147 9CD2 EFDF FB82 3925 3E1C 27E1 1F69 BFFE
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEygERR5zS79/7gjklPhwn4R9pv/4FAmLEpgoACgkQPhwn4R9p v/6ivg/8DR9zDZ/VmEcHdJPQAyvhiHwwO36JOraap63FxPmU2q2Q4x6WK8fAn3oi 71pRkBivD9WCNBAEDz2KQ6KtnPvbUZT4WihwNxRl0HGtBB3XnwJeHhFJtMo3guDI KGVAlqEssQBn2sB8HXoZsjxq0fve1O7Su75iRKtQChaJt6i6O4nCEWO6nAd7pn+V 2ALX3+H3It/r9+nAJuq10XOV164vcEQcDEx21Uufa652IjwkmlVnZ5yqcn6rYFhn Hei2qhoeyoLW/NdU/J3tQ7km/+tSTW9bp261j5M1eUq+SgYnQxjYpFDJyAreE59A 1TW3dxcf80A/mAGu2KKzHziUEs/kj1Hf4NnwnV2RK3Umc3gZCDWZtURKu+MmU6Ei cRqOVbzLktlVGKc5fbAMlCdovW1oVECHD8h2KGWPJbMKCPghPpguR2PA3w6WPmnp P0FNmtNs6Lrnl67r88uYfXDL6CGRj7SEwp3+tFF5qLNqw+L7OM3FiWa5Sw1GwTZM AED2tEWILKM3aA95TyFOH8OkgvvRdlv/02VxtesBEy8LUgbhcIgY2OFuqAXSDRTE 33rgTLeyNHxt0gQPxwjn30l1ZZOPfD5zsYVFXwnD6y8ZYJsOii1ZiYDdk/h6tMki FhxXJcdVPE5hZ/aL5GaYi73NOHk1jMd2