Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atom feed is invalid #6

Open
spackmat opened this issue Jan 23, 2023 · 2 comments
Open

Atom feed is invalid #6

spackmat opened this issue Jan 23, 2023 · 2 comments

Comments

@spackmat
Copy link

spackmat commented Jan 23, 2023

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
Copy link
Author

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
Copy link
Member

Should be fixed during the next build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants