auch188
February 27, 2011
11:38pm
Hi
I have read a lot about how Drupal 7 / Drupal Gardens have a lot of semantic RDFa like ability built in. I want to know how to utilise this in a Drupal Gardens site like optimising search to take advantage of Google's rich snippets and Yahoo's semantic capabilities.
e.g. For a music Drupal Gardens site to come up if a search term is used that is similar to the genre of the music in the music site, like funk, soul etc.
I am still experimeting with Drupal Gardens and I am still considering whether Drupal release 1.0 is worthwhile for me. Information on this topic is hard to come by from the searches I have made through forums of Drupal and the likes.
Please reply to my thread with whatever useful information anyone can provide.
Status: Unresolved
Comments
6:00pm
If you have the RDF module enabled for your site, there are a number of default RDF mappings which get applied to user and node content. At the time of this writing, the following namespaces are being integrated in some manner:
- content
- dc
- foaf
- og
- rdfs
- sioc
- sioct
- skos
- xsd
If you're comfortable reading PHP code, you can glean some information about how core modules are mapping Drupal fields to RDF by reviewing implementations of hook_rdf_mapping(). At this time, I don't believe that there is a way to create custom RDF mappings in Drupal Gardens. Best, Jonathan7:05pm
Thanks Jonathan
That's great to hear. If I understand correctly, does it mean that any node or tag that you create as a user in Drupal Gardens will have corresponding rdf/rdfa tirples in the html of the DrupalGardens site?
Essentially, I would like to use DrupalGardens in eCommerce. Do you know if the good relations namespace, "gr" is being integrated as well?
Many thanks for your reply
1:42pm
The Drupal Commerce team was talking about integrating Good Relations, I do not know how far they got. Bojan Z presented about it at Drupal Dev Days I believe.
Here is the last issue I saw about it, http://drupal.org/node/962666