aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/README.md b/README.md
index f48f41f..bf0cdfd 100644
--- a/README.md
+++ b/README.md
@@ -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