Skip to content

Example fixes: no 'content' attribute for 'span' in Microdata; wrong attribute in Microdata; following recommendation for 'price' content#1102

Merged
danbri merged 4 commits intoschemaorg:sdo-deimosfrom
unor:book-microdata-examples
Apr 15, 2016
Merged

Example fixes: no 'content' attribute for 'span' in Microdata; wrong attribute in Microdata; following recommendation for 'price' content#1102
danbri merged 4 commits intoschemaorg:sdo-deimosfrom
unor:book-microdata-examples

Conversation

@unor
Copy link
Contributor

@unor unor commented Apr 14, 2016

This PR only changes examples:

  • in Microdata, the span element can’t have a content attribute (Some Microdata examples use a 'content' attribute for 'span' #184): either omitted the element (in case where the value is the same) or used the meta element instead
  • the currency symbol should not be part of the price value
  • Microdata: replaced property attribute with itemprop, and used the same properties from the RDFa example (author, translator)
  • RDFa: used typeof instead of typeOf

@unor unor changed the title Example fixes: no Example fixes: no 'content' attribute for 'span' in Microdata; wrong attribute in Microdata; following recommendation for 'price' content Apr 14, 2016
@danbri
Copy link
Contributor

danbri commented Apr 15, 2016

@unor - thanks so much! :)

@danbri danbri merged commit cd26a93 into schemaorg:sdo-deimos Apr 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments