Just in case it helps anyone else, this is just a note to say that I think this may be a suitable solution for adding schema.org type microdata to Drupal 6 sites, as the Microdata module is D7 only. The Form Markup module may do something similar.

Comments

iantresman’s picture

Component: Documentation » Code
Category: support » feature

Looks like I was wrong. I can add HTML elements and classes, but scheme.org microdata requires, for example:

<div itemprop="track" itemscope itemtype="http://schema.org/MusicRecording">

It requires Semantic CCK to be able to add non-class parameters, such as:

  • itemprop="[name]"
  • itemscope
  • itemtype="[URL]"

I would guess the best option would be to allow any additional parameter into an HTML element, which would also allow "id" parameters.

Or, to have an option to specify either "class", "id", "itemprop", "itemscope" and "itemtype".

iantresman’s picture

Title: Semantic CCK: Microdata adn schema.org » Semantic CCK: Microdata and schema.org

It seems that the module almost solves the problem. The Suffix and Prefix fields let you put in your own HTML, but only around (a) the field container, ie. field/label/value (b) the field label.

What is required, is to add a prefix and suffix around the field value only, but this option is missing.