Bug 172624 - Some RSS feeds on www.freebsd.org are broken
Summary: Some RSS feeds on www.freebsd.org are broken
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-12 01:54 UTC by Frank Wall
Modified: 2018-07-04 14:53 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Wall 2012-10-12 01:54:30 UTC
Currently the RSS feeds for SECURITY ADVISORIES and ERRATA NOTICES are currently broken...

http://www.freebsd.org/security/rss.xml
http://www.freebsd.org/security/errata.xml

..while the RSS feeds for LATEST NEWS works as expected:
http://www.freebsd.org/news/rss.xml

Fix: A quick diff showed a difference in the XML namespace declaration:



So $someone needs to fix this.--acDGajY1TZpeVUnjkwSMLawfMpaxJyCVamZyAsmXP0uk4Dta
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- /tmp/broken.xml        2012-10-11 16:06:02.262740664 +0200
+++ /tmp/working.xml       2012-10-11 16:06:53.154993031 +0200
@@ -1,79 +1,84 @@
-<?xml version="1.0"?>
-<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns="http://www.w3.org/1999/xhtml" version="2.0">
+<?xml version="1.0" encoding="iso-8859-1"?>
+<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
How-To-Repeat: Try to access the RSS feeds using Mozilla Firefox 15+ or Internet Explorer 9+. Possibly any other RSS reader will suffer the same behaviour and is unable to access the RSS feeds.
Comment 2 Remko Lodder freebsd_committer freebsd_triage 2014-02-24 11:44:32 UTC
Responsible Changed
From-To: freebsd-www->gabor

Hi, can you have a look at this please? It seems the RSS feed for security works 
fine within Thunderbird, but the validator indeed hints on the <rss tag. 

Thanks
Comment 3 Waitman Gobble 2014-03-04 05:40:21 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,


It seems the rss feeds may have been formulated before the Atom
standard, and now fail validation, thus newsreaders may refuse to parse.

Here's a quick hack to convert the feed into the Atom/2005 format which
passes validation and can be displayed in the newsreader. 

https://github.com/waitman/fixfeed

- -- 
Waitman Gobble
phone +1.510.830.7975
66D9 C739 3959 3C01 A85A  83D9 3082 CA65 BAF1 0193
http://www.da3m0n8t3r.com/BAF10193.pub.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJTFWdKAAoJEDCCymW68QGTb+oIAJSWC62tzXg8G+/XEAbYp6Aj
iDTJp58TSbqyDttPKDL4H2WMNFoKvi/3k1d0ViOyGtorHKihd2sir+mDnLw08/Jz
yWdWnpFhOuaOnV6zK6SkqkIPOiR3DOllMBRaMF1VxcqGFzy9pOvCc6K5devMLpyu
A/isIkN2K3RufJ/s9J3ySqzuyBc3zI0BGAlETaMAkdWvi6huXCK9/aTre89qL/HW
T0ouFc6BPQVK/IFlPc48NN4j327ltmR8w3TfZxDxapPTTJ53hNgAG+jvf6z+gCEo
vth1ZVefkUhpHR9mMksLLKplfbsCv+Cnv3jg8fTyuL2OYgmZYA+wqXeyiecxLes=
=CZjD
-----END PGP SIGNATURE-----
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-08-13 10:53:36 UTC
A commit references this bug:

Author: gabor
Date: Wed Aug 13 10:53:25 UTC 2014
New revision: 45449
URL: http://svnweb.freebsd.org/changeset/doc/45449

Log:
  - Remove an incorrect rel="self" attribute

  PR:		172624
  Submitted by:	Frank Wall <fw@moov.defw@moov.de>

Changes:
  head/share/xml/libcommon.xsl
Comment 5 Gabor Kovesdan freebsd_committer freebsd_triage 2014-08-13 10:55:22 UTC
I've fixed a warning shown by the validator but I cannot reproduce any "hard error" in Chrome. Is it working now?
Comment 6 Frank Wall 2014-08-13 11:05:06 UTC
(In reply to Gabor Kovesdan from comment #5)
> I've fixed a warning shown by the validator but I cannot reproduce any "hard
> error" in Chrome. Is it working now?

It's working in Firefox (31) again, thank you!
Comment 7 kaltheat 2015-02-27 12:11:46 UTC
I have problems viewing sec. adv. and err. not. RSS feeds in firefox (35.0.1). Seems as if the links within xml files are incorrect (no protocol just "//security.FreeBSD.org/...").
Comment 8 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:41:19 UTC
batch change:

For bugs that match the following
-  Status Is In progress 
AND
- Untouched since 2018-01-01.
AND
- Affects Base System OR Documentation

DO:

Reset to open status.


Note:
I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
Comment 9 Frank Wall 2018-07-04 14:53:01 UTC
The RSS feeds are working again. Don't know how or when this was fixed.