HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/4070

File a bug

SVNBugCommentTime (UTC)
4070Split out the microdata vocabularies into their own specs2009-10-04 10:23
Index: source
===================================================================
--- source	(revision 4069)
+++ source	(revision 4070)
@@ -50134,10 +50134,32 @@
 
 <!--START vocabs-->
 
+  <h3 class="no-num no-toc">Table of contents</h3>
+  <!--toc-->
+  <hr>
+
+  <h4>Introduction</h4>
+
+  <p>This specification defines microdata vocabularies. <a
+  href="#refsHTML5">[HTML5]</a></p>
+
+
   <h4>vCard</h4>
 
+<!--END vocabs-->
 <!--START vCard-->
 
+  <h4 class="no-num no-toc">Table of contents</h4>
+  <!--toc-->
+  <hr>
+
+  <h5>The vocabulary</h5>
+
+  <p>This section defines a microdata vocabulary. <a
+  href="#refsHTML5">[HTML5]</a></p>
+
+<!--START vocabs-->
+
   <p>An item with the <span>item type</span> <dfn
   title="md-vcard"><code>http://microformats.org/profile/hcard</code></dfn>
   represents a person's or organization's contact information.</p>
@@ -52378,10 +52400,22 @@
 
   <h4>vEvent</h4>
 
+<!--END vocabs-->
 <!--START vEvent-->
 
+  <h4 class="no-num no-toc">Table of contents</h4>
+  <!--toc-->
+  <hr>
+
+  <h5>The vocabulary</h5>
+
+  <p>This section defines a microdata vocabulary. <a
+  href="#refsHTML5">[HTML5]</a></p>
+
+<!--START vocabs-->
+
   <p>An item with the <span>item type</span> <dfn
-  title="md-vevent"><code>http://microformats.org/profile/hcalendar</code></dfn>
+  title="md-vevent"><code>http://microformats.org/profile/hcalendar#vevent</code></dfn>
   represents an event.</p>
 
   <p>The following are the type's <span title="defined property
@@ -52409,7 +52443,7 @@
     <p>Any number of properties with the name <code
     title="md-vevent-attach">attach</code> may be present within each
     <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52427,7 +52461,7 @@
     <p>Any number of properties with the name <code
     title="md-vevent-categories">categories</code> may be present
     within each <span title="concept-item">item</span> with the type
-    <code title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    <code title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52454,7 +52488,7 @@
     <p>A single property with the name <code
     title="md-vevent-class">class</code> may be present within each
     <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52471,7 +52505,7 @@
     <p>Any number of properties with the name <code
     title="md-vevent-comment">comment</code> may be present within each
     <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52488,7 +52522,7 @@
     <p>A single property with the name <code
     title="md-vevent-description">description</code> may be present
     within each <span title="concept-item">item</span> with the type
-    <code title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    <code title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52545,7 +52579,7 @@
     <p>A single property with the name <code
     title="md-vevent-geo">geo</code> may be present within each <span
     title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52562,7 +52596,7 @@
     <p>A single property with the name <code
     title="md-vevent-location">location</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52582,7 +52616,7 @@
     <p>Any number of properties with the name <code
     title="md-vevent-resources">resources</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52605,7 +52639,7 @@
     <p>A single property with the name <code
     title="md-vevent-status">status</code> may be present within each
     <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52626,7 +52660,7 @@
     <p>A single property with the name <code
     title="md-vevent-summary">summary</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52640,7 +52674,7 @@
     <p>If the property with the name <code
     title="md-vevent-dtend">dtend</code> is present within an <span
     title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>
     that has a property with the name <code
     title="md-vevent-dtstart">dtstart</code> whose value is a
     <span>valid date string</span>, then the <span
@@ -52666,9 +52700,9 @@
     <p>A single property with the name <code
     title="md-vevent-dtend">dtend</code> may be present within each
     <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>,
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>,
     so long as that <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>
     does not have a property with the name <code
     title="md-vevent-duration">duration</code>.</p>
 
@@ -52688,7 +52722,7 @@
     <p>Exactly one property with the name <code
     title="md-vevent-dtstart">dtstart</code> must be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52708,9 +52742,9 @@
     <p>A single property with the name <code
     title="md-vevent-duration">duration</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>,
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>,
     so long as that <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>
     does not have a property with the name <code
     title="md-vevent-dtend">dtend</code>.</p>
 
@@ -52735,7 +52769,7 @@
     <p>A single property with the name <code
     title="md-vevent-transp">transp</code> may be present within each
     <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52756,7 +52790,7 @@
     <p>Any number of properties with the name <code
     title="md-vevent-contact">contact</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52785,7 +52819,7 @@
     <p>A single property with the name <code
     title="md-vevent-url">url</code> may be present within each
     <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52807,7 +52841,7 @@
     <p>Any number of properties with the name <code
     title="md-vevent-exdate">exdate</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52826,7 +52860,7 @@
     <p>Any number of properties with the name <code
     title="md-vevent-exrule">exrule</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52859,7 +52893,7 @@
     <p>Any number of properties with the name <code
     title="md-vevent-rdate">rdate</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52878,7 +52912,7 @@
     <p>Any number of properties with the name <code
     title="md-vevent-rrule">rrule</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52896,7 +52930,7 @@
     <p>A single property with the name <code
     title="md-vevent-created">created</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52917,7 +52951,7 @@
     <p>A single property with the name <code
     title="md-vevent-last-modified">last-modified</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -52934,7 +52968,7 @@
     <p>A single property with the name <code
     title="md-vevent-sequence">sequence</code> may be present within
     each <span title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>.</p>
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>.</p>
 
    </dd>
 
@@ -53013,7 +53047,7 @@
 
    <li><p>If none of the nodes in <var title="">nodes</var> are <span
    title="concept-item">items</span> with the type <code
-   title="md-vevent">http://microformats.org/profile/hcalendar</code>,
+   title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>,
    then there is no vEvent data. Abort the algorithm, returning
    nothing.</p></li>
 
@@ -53037,7 +53071,7 @@
     <p>For each node <var title="">node</var> in <var
     title="">nodes</var> that is an <span
     title="concept-item">item</span> with the type <code
-    title="md-vevent">http://microformats.org/profile/hcalendar</code>,
+    title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>,
     run the following steps:</p>
 
     <ol>
@@ -53241,7 +53275,7 @@
   <p class="note">This algorithm can generate invalid iCalendar
   output, if the input does not conform to the rules described for the
   <code
-  title="md-vevent">http://microformats.org/profile/hcalendar</code>
+  title="md-vevent">http://microformats.org/profile/hcalendar#vevent</code>
   <span>item type</span> and <span title="defined property
   name">defined property names</span>.</p> <!-- of course since
   iCalendar doesn't define error handling, this is somewhat
@@ -53258,7 +53292,7 @@
    <p>Here is an example of a page that uses the vEvent vocabulary to
    mark up an event:</p>
 
-   <pre>&lt;body item="http://microformats.org/profile/hcalendar">
+   <pre>&lt;body itemscope itemtype="http://microformats.org/profile/hcalendar#vevent">
  ...
  &lt;h1 itemprop="summary">Bluesday Tuesday: Money Road&lt;/h1>
  ...
@@ -53280,7 +53314,7 @@
    this:</p>
 
    <pre>function getCalendar(node) {
-  while (node && (!node.nodeScope || !node.itemType == 'http://microformats.org/profile/hcalendar'))
+  while (node && (!node.nodeScope || !node.itemType == 'http://microformats.org/profile/hcalendar#vevent'))
     node = node.parentNode;
   if (!node) {
     alert('No event data found.');
@@ -53321,7 +53355,7 @@
    <p>The same page could offer some markup, such as the following,
    for copy-and-pasting into blogs:</p>
 
-   <pre>&lt;div itemscope itemtype="http://microformats.org/profile/hcalendar">
+   <pre>&lt;div itemscope itemtype="http://microformats.org/profile/hcalendar#vevent">
  &lt;p>I'm going to
  &lt;strong itemprop="summary">Bluesday Tuesday: Money Road&lt;/strong>,
  &lt;time itemprop="dtstart" datetime="2009-05-05T19:00:00Z">May 5th at 7pm&lt;/time>
@@ -53338,8 +53372,20 @@
 
   <h4>Licensing works</h4>
 
+<!--END vocabs-->
 <!--START work-->
 
+  <h4 class="no-num no-toc">Table of contents</h4>
+  <!--toc-->
+  <hr>
+
+  <h5>The vocabulary</h5>
+
+  <p>This section defines a microdata vocabulary. <a
+  href="#refsHTML5">[HTML5]</a></p>
+
+<!--START vocabs-->
+
   <p>An item with the <span>item type</span> <dfn
   title="md-work"><code>http://n.whatwg.org/work</code></dfn>
   represents a work (e.g. an article, an image, a video, a song,
@@ -53459,8 +53505,8 @@
    Alike 3.0 United States License and the MIT license
    simultaneously.</p>
 
-   <pre>&lt;figure <strong>item="work"</strong>>
- &lt;dd>&lt;img <strong>itemprop="about"</strong> src="mypond.jpeg">
+   <pre>&lt;figure <strong>itemscope itemtype="http://n.whatwg.org/work"</strong>>
+ &lt;dd>&lt;img <strong>itemprop="work"</strong> src="mypond.jpeg">
  &lt;dt>
   &lt;p>&lt;cite <strong>itemprop="title"</strong>>My Pond&lt;/cite>&lt;/p>
   &lt;p>&lt;small>Licensed under the &lt;a <strong>itemprop="license"</strong>
@@ -90429,11 +90475,13 @@
 
 
 <!--START websocket-api--><!--START storage--><!--START database--><!--START eventsource--><!--START workers-->
+<!--START vocabs--><!--START vCard--><!--START vEvent--><!--START work-->
 
-
   <h2 class="no-num" id="references">References</h2><!--REFS-->
 
+<!--END vocabs--><!--END vCard--><!--END vEvent--><!--END work-->
   <p>All references are normative unless marked "Non-normative".</p>
+<!--START vocabs--><!--START vCard--><!--START vEvent--><!--START work-->
 
   <dl>
 <!--REFERENCES ON-->
@@ -91148,6 +91196,7 @@
 <!--REFERENCES OFF-->
   </dl>
 
+<!--END vocabs--><!--END vCard--><!--END vEvent--><!--END work-->
 <!--END websocket-api--><!--END storage--><!--END database--><!--END eventsource--><!--END workers-->
 
 

|