doctrine / doctrine-website-build-prod

Generated website artifacts. See https://www.doctrine-project.org/contribute/website/
https://doctrine-project.org
5 stars 4 forks source link

Atom feed is invalid #6

Open spackmat opened 1 year ago

spackmat commented 1 year ago

Hey there,

I cannot add your Atom feed to my feedreader, as is is rejected as invalid. The found errors in https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwww.doctrine-project.org%2Fatom.xml are not that unlucky and should be easily fixable:

  1. The namespace is invalid (it should be http://www.w3.org/2005/Atom according to https://datatracker.ietf.org/doc/html/rfc4287#section-1.2, not https://www.w3.org/2005/Atom)
  2. The entry-elements don't contain an author-element, nor does the feed itself. Specification says: "atom:feed elements MUST contain one or more atom:author elements, unless all of the atom:feed element's child atom:entry elements contain at least one atom:author element."

Greets Gregor

spackmat commented 1 year ago

I wrote a quick fixer-proxy that only fixes the xmlns attribute. That is enough for my Simplepie-based feedreader to accept the feed.

greg0ire commented 1 year ago

Should be fixed during the next build.