-
Notifications
You must be signed in to change notification settings - Fork 824
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
BreadcrumbList: Clarify position and how it interacts with itemListOrder #333
Comments
Thanks @PFAR :) @vholland - this is indeed a bit unclear, partly because the metaphor of 'ascending' pulls in two directions. For "top 10" lists, intuition says that being at the top of the list, at 0 or 1, is the highest you can be. But numerically, higher numbers are in the other direction. For breadcrumbs it seems like the implicit model we've used is that the homepage or top of the site nav tree is position: 1, with each page's breadcrumbs asigning higher numbers to deeper (typically more specific) pages. Now how to express that in terms of ItemListOrderAscending? |
As for the 'itemListorder', can we keep the working the same as it it is in HTML5? For example: Acscending:
Translates to:
Both generate:
Descending:
Translates to:
Both generate:
|
@jvandriel To make sure I understand, we'd be asking the parser to first order by Another point to note: |
@pierrefar In regards to BreadCrumbList, personally I think it would be best if the default order is As for And just to make sure you're aware,
|
Summary as I see it: ItemList
BreadcrumbList
BTW there are some other points around BreadcrumbList worth attention, but unrelated to ordering. I've put some notes online at https://docs.google.com/document/d/1wspgGcdXLDzAa3l78rYF3weNZhcb3lfiuxRZ6xFxrjc/edit?usp=sharing |
I've commited text to this effect, am closing this issue. If anyone here thinks more is needed, do let us know. |
Looking back at this I have to say I am a bit uncomfortable with the microdata example as the Shouldn't the expected value for |
@jvandriel everything is a Thing. And any time we expect some kind of thing, we can also be handed a URL for it instead of an inline description of it. Microdata vs RDFa/JSON-LD (or schema.org and RDF for that matter) talk about these issues a bit differently, but it is OK. Related: when we say in schema.org that the range of a property includes URL, this is a bit different to everything else. It really means "we expect a lot of the time, this property will be used with URL identifiers rather than an inline description. It feels weird because it somewhat mixes up different layers of the system, but I think we can live with it. |
Sorry, I realize I wasn't specific enough with my question, I was looking at it from a general webmaster perspective. One of the complaints I often get when explaining this to juniors/mediors is that they don't understand why, if a URL is allowed, the expected value just doesn't simply say so? http://schema.org/image does so for example, and it's this type of inconsitancy in the specs that makes it difficult to come to grips with for many. And looking at it from that POV the current microdata example doesn't really help to to support the notion that one should pay attention to the expected values indicated. Especially since many webmaster/devs aren't aware about what you just stated. |
http://schema.org/BreadcrumbList
http://schema.org/itemListElement
For http://schema.org/BreadcrumbList, the example has an
itemListElement
with twoListItem
s. They each have a position but it's not clear what it means.For example, what do these code examples mean?
The current code example:
With an extra hint about the order:
And should the
itemListOrder
beItemListOrderDescending
(going deeper into the leaf structure of a site) orItemListOrderAscending
(meaning???) for breadcrumbs?The text was updated successfully, but these errors were encountered: