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

Drop h-cards from Microformats feeds? #192

Closed
aaronpk opened this issue Mar 24, 2020 · 1 comment
Closed

Drop h-cards from Microformats feeds? #192

aaronpk opened this issue Mar 24, 2020 · 1 comment

Comments

@aaronpk
Copy link

aaronpk commented Mar 24, 2020

https://granary.io/url?input=html&output=atom&url=https%3A%2F%2Faaronparecki.com/

The Atom feed generated from the Microformats on my home page does not validate.

The first item in the Microformats of my home page is my primary h-card. It's marked up properly with u-url and u-uid matching my home page URL. The rest of the items on the page are h-entrys, and should be converted to Atom entries. The first item however ends up as a mostly empty Atom entry, which breaks some parsers and does not validate either.

I would recommend either dropping all unrecognized items from the generated Atom feed (converting only recognized ones like h-entry), or special-casing this type of situation where a home page feed of posts is not wrapped in an explicit h-feed.

@snarfed
Copy link
Owner

snarfed commented Mar 24, 2020

yup, understood. thanks for filing!

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