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
Support @itemprop-reverse #5
Comments
I am a little bit uneasy adding a feature like that which is not defined by the microdata specification. The only proper way of doing this would be to update the microdata specification, too, but we should not do that without the participation of Ian. Is this feature now introduced and used in schema.org? Ivan On 31 Oct 2014, at 16:28 , Gregg Kellogg notifications@github.com wrote:
Ivan Herman, W3C |
I believe @danbri cleared the way for it, and there is a real need. I have it implemented in my processor. The key is that we are clear to use the attribute, not that there is a processing model in Microdata, IMO. The community must decide. |
On 31 Oct 2014, at 20:30 , Gregg Kellogg notifications@github.com wrote:
Well... at the end of the day, of course. But I am still uneasy about this. It is not the role of the serialization document to get ahead of the core specification, ie, which is the microdata spec. I think it becomes a dangerous precedent if the mdata->RDF spec goes ahead and, in some sense, specifies an attribute itself. This is maybe something to see with danbri. If he thinks this is really important, he should get Ian to update the official microdata specification in this respect. Until that is done, I think we should hold back... Ivan
Ivan Herman, W3C |
There's a thread in html whatwg list where Hixie says he'll reserve the I believe appropriate focus now is experimental implementation (eg also
|
That's consistent with putting it in the spec as an issue (possibly "at-risk") and creating test cases. I don't think it's possible to create in the Microdata-JSON serialization, without resorting to something like JSON-LD's |
I know this is a minor issue, but even at-risk is something too strong at this point because it gives the impression that implementers are, sort of, required to do this even if it may disappear in future. Maybe flagging it as 'experimental' or 'optional' is a slightly better approach. Ivan
Ivan Herman, W3C |
…ow defines an attribute not defined in the referenced Microdata spec, although that is also a NOTE, and the issue of necessary W3C process.
The feature is now part of the second edition as an 'experimental' one. I mark this issue as postponed. |
There is general consensus around adding support for a new
@itemprop-reverse
attribute. This would work similarly to@rev
in RDFa: it must be used on an element taking a URI value (such aslink
), and has the effect of generating a triple with the property value as the subject, and the current item as the object.@itemprop-reverse
might also be used along with@itemscope
to link back from the contained item. The following example shows simultaneous use of both@itemprop
and@itemprop-reverse
to create both forward and reverse links:The text was updated successfully, but these errors were encountered: