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

Microdata: Underlying lib does not honour "content" attribute on all tags #68

Open
iamjochem opened this issue Jan 4, 2018 · 2 comments

Comments

@iamjochem
Copy link

hi there,

the module used to parse microdata does not honour the microdata spec with regard to "content" tags attributes.

the spec states:

HTML only allows the content attribute on the meta element. This specification changes the content model to allow it on any element, as a global attribute.

the relevant function in microdata-node only looks at the "content" attribute for "meta" tags.

I mention this problem here due to the fact that the microdata-node module has seen no development in the last 3 years.

@mvolz
Copy link
Collaborator

mvolz commented Jan 11, 2018

Thanks for reporting - why don't you report it over there as well? It doesn't look like anyone has reported it. It does look dead but sometimes that happens because no one has been reporting issues :).

Let us know if you know of another library that's better as well.

@iamjochem
Copy link
Author

hi!

why I didn't report it there? looking dead was one reason, microdata being your dep the other ... I have now made a new issue (and referenced this one) ... question of waiting for a reply/opinion (I hesitate to call "bug" because I feel this has everything to do with wanting to deal gracefully with tag-soup regardless of spec(s))

I am not aware of a better microdata specific lib TBH - I have been using this module side by side with suq for webpage data-scraping purposes (this module and suq have alot of overlap but each one has it's own strengths - leveraging both allows me to cover more "HTML sceanarios" :-) ).

kind rgds.

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