Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
now that schema.org supports RDFa 1.1 Lite, can the module produce nice code like in this URL?
http://www.w3.org/QA/2011/11/schemaorg_and_rdfa_11_lite_how.html
Comments
Comment #1
scor CreditAttribution: scor commentedThis is definitely ideal, but too late for Drupal 7, given that it would require updating the theme functions which generate the HTML markup (in both core and contrib). This is on Drupal 8's plate so moving to the appropriate issue queue.
Comment #2
dropbydrop CreditAttribution: dropbydrop commentedWhy not developing a module that can override drupal 7 RDF output?
For example the html5 tools module, makes drupal 7 output html5.
It's a pity to wait 2-3 year from now for Drupal 8, to arrive to the same point where Drupal 7 is.
(for example 1 year has passed and many major modules are still not final).
We have to support RDFa 1.1 Lite according to the following:
The False Choice of Schema.org
which talks about the freedom in RDF, and we can encourage users to use RDFa by using the 1.1 Lite version which is more clean and readable
AND
http://openspring.net/blog/2011/06/10/microdata-multiple-vocabularies
which proves that combining vocabularies in microdata is not so good/easy.
You'll tell me that existing RDFa support already do the things mentioned in the two articles above.
Yes, I agree. But only RDFa is simple enough for the simple drupal user, so he does not use microdata.
What I mean simple is that the output code is more readable with RDFa 1.1 Lite, and with it the novice template themer can write custom code more easy in situation where he needs custom rdf for fields that do not provide, like fivestar-agregaterating.
I had to write code for agregaterating, so that Google rich snippet test tool, shows stars at rich snippets.
It was much easier to do it in microdata because of its clean code.
On the other hand, I would feel better to do it with RDFa 1.1 it after reading the two articles above, hence I opened this issue.
Comment #3
scor CreditAttribution: scor commented@dropbydrop Good point. In fact html5_tools ships with the appropriate doctype and will most likely get the HTML5 backports from Drupal 8, so we can build on that. I've created http://drupal.org/project/rdfa for the RDFa 1.1 specific markup in Drupal 7.
I'm leaving this issue open so we can track progress in core.
Comment #4
dropbydrop CreditAttribution: dropbydrop commentedcongratulations! please post here when you have the first version, so we download. thanks!
Comment #5
klonos...just a less vague title for the dashboard.
Comment #6
dropbydrop CreditAttribution: dropbydrop commentedhttp://blog.schema.org/2012/06/semtech-rdfa-microdata-and-more.html
Comment #7
mgiffordLink to the competition #1177156: Microdata support in core
But also this comparison of the two (from a RDFa perspective) - http://manu.sporny.org/2012/mythical-differences/
Comment #8
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 #9
joelpittetNot sure how far this feature got in the D8 lifecycle. I'm triaging and since this is a feature it will need to be done in 8.1.x if at all.
Postponing till that branch opens.
Comment #15
joelpittetPostponed isn't the right status for this, moving back to active. It was really postponed on the release.
Comment #24
smustgrave CreditAttribution: smustgrave at Mobomo commentedClosing out as outdated as RDF is moving out core into https://www.drupal.org/project/rdf
If still a valid request please reopen under the contrib page with an updated issue summary
Thanks!