We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The microformats parsing spec was updated yesterday to reflect a 2015 resolution on <link> elements. The Ruby parser should be updated to reflect this.
<link>
An HTML document that uses an existing rel-canonical <link> element to communicate the page’s u-url and p-name:
u-url
p-name
<!doctype html> <html class="h-entry"> <head> <link rel="canonical" class="u-url p-name" href="https://example.com/" title="Example.com homepage"> </head> <body></body> </html>
Expected parser output (rels and rel-urls have been left out):
rels
rel-urls
{ "items": [ { "type": [ "h-entry" ], "properties": { "name": [ "Example.com homepage" ], "url": [ "https://example.com/" ] } } ] }
u-author
rel="canonical"
rel="author"
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The microformats parsing spec was updated yesterday to reflect a 2015 resolution on
<link>
elements. The Ruby parser should be updated to reflect this.Example
An HTML document that uses an existing rel-canonical
<link>
element to communicate the page’su-url
andp-name
:Expected parser output (
rels
andrel-urls
have been left out):Live example
u-url
andu-author
on the<link>
elements withrel="canonical"
andrel="author"
respectively.The text was updated successfully, but these errors were encountered: