diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-07-13 16:03:02 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-07-13 18:37:11 +0200 |
commit | 49482954ebb719288e710ec23abdd026cdcf1d79 (patch) | |
tree | 74061ab27af288d4dcf07e8d0a58141dd805916a | |
parent | f9dcc1d64ea1df3bb9d2d21017a150d02a20f7c3 (diff) |
fix example: annotate two named events (not one event with two names)
-rw-r--r-- | README.md | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -75,9 +75,7 @@ Notice how IRI namespace "schema" is implicitly resolved from its listing at [RD ### Title and list example ```markdown -{.schema:Event} - -## {schema:name} +## {.schema:Event schema:name} ## Specification meeting * Date: [11/10]{schema:startDate} @@ -97,7 +95,7 @@ Notice how IRI namespace "schema" is implicitly resolved from its listing at [RD Would produce the following HTML+RDFa: ```html -<div vocab="http://schema.org/" typeof="Event"> +<div vocab="http://schema.org/"> <h2 property="name">Specification meeting</h2> <ul> <li>Date: <span property="startDate">11/10</span></li> @@ -112,14 +110,11 @@ Would produce the following HTML+RDFa: <li>Description: Some information not annotated</li> </ul> - <h2 property="name">Launch party</h2> + <h2 typeof="Event" property="name">Launch party</h2> <p>(TODO)</p> </div> ``` -:::danger -:heavy_exclamation_mark: FIXME: There is a problem in the RDFa markup as this generates _a single event with 2 names_ instead of 2 events each with a name (Thomas). Test the markup at http://rdfa.info/play -::: ## Annotation syntax |