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

Post microdata doesn't follow spec #331

Open
derelk opened this issue Apr 10, 2013 · 2 comments
Open

Post microdata doesn't follow spec #331

derelk opened this issue Apr 10, 2013 · 2 comments

Comments

@derelk
Copy link
Contributor

derelk commented Apr 10, 2013

Microdata on posts is currently declared as: <span itemscope="https://app.net/schemas/Post">

The itemscope attribute is boolean and should have no value; the schema should be specified in the itemtype attribute: <span itemscope itemtype="https://app.net/schemas/Post">

http://schema.org/docs/gs.html#microdata_itemscope_itemtype
http://www.w3.org/html/wg/drafts/microdata/master/Overview.html#typed-items

@voidfiles
Copy link
Member

I wouldn't mind changing this. We would need to see if anyone is depending on this stuff. I am interested though is this breaking something for you?

@derelk
Copy link
Contributor Author

derelk commented Apr 11, 2013

The HTML fails W3C validation, and since the post HTML is embedded in Climber pages, it in turn causes our pages to fail validation as well. Not a big deal obviously, but conforming to standards makes me feel warm and fuzzy inside. I'm currently fixing it on our end with a regex anyway, but I figured you'd want to know.

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