Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Today the 3 big search engines, Google, Bing, Yahoo, they announced http://schema.org.
They decided to use microdata as a common rich snippets format.
Neither RDF, nor microformats.
Since, semantic web is the most important topic of the coming web evolution, it is absolutely necessary drupal 7 to put at it's core microdata support.
Ideally giving the ability to choose microdata for each field of each content type.
Please do not let it for Drupal 8, it will be late.
We need for Drupal 7, so Drupal has advantage and not stay behind in the evolution.
Thanks
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedMicrodata is based on the RDF model. It is very easy to translate between RDFa and Microdata... so easy that schema.org has instructions for how to use the models with RDFa 1.1.
Google supports microformats, microdata, and RDFa for their Rich Snippets.
Comment #2
jpstrikesback CreditAttribution: jpstrikesback commentedSub.
Comment #3
dropbydrop CreditAttribution: dropbydrop commented@linclark thanks for the info.
Do bing and yahoo also support this?
The output code would be more clear if we would just have microdata, and since this is the future, then why not.
Since google, bing, yahoo chose microdata, I don't think there a lot that we can do about other choices.
Comment #4
nandotinoco CreditAttribution: nandotinoco commentedSub
Comment #5
RdeBoerTo elaborate on comment #1.
Coverting Microdata to RDFa in a nutshell:
"itemprop is replaced by either property or rel depending on whether the value is literal or another entity.
itemscope is dropped and itemtype is replaced with typeof.
vocab="http://schema.org/" is added to the body or some other enclosing tag."
"Microdata does not have analogs for RDFa features such as CURIES, Turtles, Chaining, Typed vs Plain literals, etc."
Comment #6
RdeBoerThe FAQ's are particularly good, explaining why the Big Three went for microdata over microformat, Facebook's OpenGraph and RDFa (which they'll continue to support also).
See http://schema.org/docs/faq.html
Comment #7
Anonymous (not verified) CreditAttribution: Anonymous commentedThis can't go into core for Drupal 7, it would be an introduction of a new API which just doesn't happen after the release. It also doesn't need to be in core to work.
Microdata is extremely close to RDF in its data model, and very close to RDFa in the way it inserts the model into HTML. This is good because it means we can use the thinking that already went into RDF in core. I have started a module in contrib that leverages that work for Microdata support.
It is still in the extremely early stages, but this is the plan:
As I said, it is still in the very early stages, but I hope to be able to get further tomorrow.
Comment #8
dropbydrop CreditAttribution: dropbydrop commentedwhere is this module?
Comment #9
mariomaric CreditAttribution: mariomaric commented@dropbydrop: http://drupal.org/project/microdata :D
Comment #10
dropbydrop CreditAttribution: dropbydrop commentedthanks for starting a new module.
I hope to see it developed soon.
Comment #11
barbi CreditAttribution: barbi commentedSub
Comment #12
sonicthoughts CreditAttribution: sonicthoughts commentedsub
Comment #13
tdiepiv CreditAttribution: tdiepiv commentedsub
Comment #14
Anonymous (not verified) CreditAttribution: Anonymous commentedJust to update, the W3C and WHATWG are forming a task force to figure out how the microdata and RDFa standards should be made more compatible. This might mean merging the two or it might mean making it easier to use them independently and then combine the data later.
The microdata module needs to go through a developer experience review before the API is stable. I will not be putting out the call for this review until it is more clear what the recommendation of the task force will be. Fortunately, almost everything is in place in the module to move into DX review as soon as the direction is more clear.
Comment #15
ELS Landscape CreditAttribution: ELS Landscape commentedMy 2 cents in reading all I could about this.
OPG is in the head and should be a Global site description.
RFDa should be a global page description and canonical link in head
Microdata is about specific items on the page.
I can see how metatags will not do this task in it's current state but can help with the OGP
Thank you linclark for taking this up. Wish I was smart enough to help but Drupal is a tool for me. I do appreciate all the hard work by the contributors.
Comment #16
kolafson CreditAttribution: kolafson commentedsub
Comment #17
mariomaric CreditAttribution: mariomaric commented@kolafson: Stop subscribing, start following, please. :)
Comment #18
hgceballos CreditAttribution: hgceballos commentedsub
Comment #19
mgiffordLink to the competition #1365654: RDFa 1.1 Lite in D8 core
Comment #20
Anonymous (not verified) CreditAttribution: Anonymous commentedPLEASE do not frame this as a competition.
As I said in my DrupalEasy Podcast, RDFa 1.1 Lite copies the processing model of microdata. They are fundamentally the same except for attribute names and the fact that you can use CURIEs in RDFa.
Comment #33
smustgrave CreditAttribution: smustgrave at Mobomo commentedWonder after so many years if this is still needed for D10?
Comment #34
longwaveWe have removed RDF from core, and I am not sure microdata was ever successfully implemented in D8+. JSON+LD seems to be the current favourite approach and this is handled well in contrib via https://www.drupal.org/project/schema_metatag - I don't think this should be added to core directly though.
Therefore closing this issue as outdated.