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

Updated Atom.xml to use correct namespace #105

Merged
merged 1 commit into from
Nov 16, 2019
Merged

Conversation

Kritner
Copy link
Contributor

@Kritner Kritner commented Nov 12, 2019

As per https://tools.ietf.org/html/rfc4287#section-1.2, the correct xml namespace is "http://www.w3.org/2005/Atom". When https is used, some feed validators will fail validation, even though the "https" version of that URL is also valid.

fixes #104

As per https://tools.ietf.org/html/rfc4287#section-1.2, the correct xml namespace is "http://www.w3.org/2005/Atom", which some feed validators will validate against, even though the "https" version of that URL is also valid.  

fixes hexojs#104
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 6dd8ea4 on Kritner:patch-1 into a82dc89 on hexojs:master.

@Kritner
Copy link
Contributor Author

Kritner commented Nov 12, 2019

I rolled back my npm version of the feed generator to 1.2.2, and was able to confirm with the "http" version of the xml namespace, the feed validates correctly enough to say "valid" rather than failed:

image

image

Copy link
Member

@SukkaW SukkaW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@tomap tomap merged commit 41a4505 into hexojs:master Nov 16, 2019
@curbengh curbengh mentioned this pull request Nov 17, 2019
@Kritner Kritner deleted the patch-1 branch November 18, 2019 11:51
@curbengh
Copy link
Contributor

I just found out using http in namespace is especially important in svg. browser would not display svg if the namespace is in https.

curbengh pushed a commit to curbengh/curbengh.github.io that referenced this pull request Apr 15, 2020
curbengh pushed a commit to curbengh/curbengh.github.io that referenced this pull request Apr 15, 2020
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

Successfully merging this pull request may close these issues.

W3C feed validation issue
5 participants