- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 14 May 2009 23:08:50 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv19965 Modified Files: Overview.html Log Message: Define 'about'; allow top-level vcards that apply to documents to trigger more RDF triples. (whatwg r3099) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2256 retrieving revision 1.2257 diff -u -d -r1.2256 -r1.2257 --- Overview.html 14 May 2009 22:58:03 -0000 1.2256 +++ Overview.html 14 May 2009 23:08:47 -0000 1.2257 @@ -747,13 +747,15 @@ <ol> <li><a href="#vcard"><span class="secno">5.4.1 </span>vCard</a></li> <li><a href="#vevent"><span class="secno">5.4.2 </span>vEvent</a></li> - <li><a href="#bibtex"><span class="secno">5.4.3 </span>BibTeX</a></ol></li> + <li><a href="#bibtex"><span class="secno">5.4.3 </span>BibTeX</a></li> + <li><a href="#rdf"><span class="secno">5.4.4 </span>RDF</a></ol></li> <li><a href="#converting-html-to-other-formats"><span class="secno">5.5 </span>Converting HTML to other formats</a> <ol> <li><a href="#json"><span class="secno">5.5.1 </span>JSON</a></li> - <li><a href="#rdf"><span class="secno">5.5.2 </span>RDF</a></li> + <li><a href="#rdf-0"><span class="secno">5.5.2 </span>RDF</a></li> <li><a href="#vcard-0"><span class="secno">5.5.3 </span>vCard</a></li> - <li><a href="#icalendar"><span class="secno">5.5.4 </span>iCalendar</a></ol></ol></li> + <li><a href="#icalendar"><span class="secno">5.5.4 </span>iCalendar</a></li> + <li><a href="#bibtex-0"><span class="secno">5.5.5 </span>BibTeX</a></ol></ol></li> <li><a href="#browsers"><span class="secno">6 </span>Web browsers</a> <ol> <li><a href="#windows"><span class="secno">6.1 </span>Browsing contexts</a> @@ -39129,7 +39131,10 @@ <p class="XXX">...</p> ---><h3 id="converting-html-to-other-formats"><span class="secno">5.5 </span>Converting HTML to other formats</h3><h4 id="json"><span class="secno">5.5.1 </span>JSON</h4><p>Given a node <var title="">node</var> in a <code>Document</code>, +--><h4 id="rdf"><span class="secno">5.4.4 </span>RDF</h4><p>The <dfn id="md-about" title="md-about"><code>about</code></dfn> property can + be used to name an <a href="#concept-item" title="concept-item">item</a> for the + purposes of refering to the data defined in that item from RDF.<p>A single property with the name <code title="md-about"><a href="#md-about">about</a></code> may be present within each <a href="#concept-item" title="concept-item">item</a>. Its <a href="#concept-property-value" title="concept-property-value">value</a> must be an + <a href="#absolute-url">absolute URL</a>.<h3 id="converting-html-to-other-formats"><span class="secno">5.5 </span>Converting HTML to other formats</h3><h4 id="json"><span class="secno">5.5.1 </span>JSON</h4><p>Given a node <var title="">node</var> in a <code>Document</code>, a user agent must run the following algorithm to extract that node's microdata into a JSON form:<ol><li><p>Let <var title="">result</var> be an empty object.</li> @@ -39190,7 +39195,7 @@ <li><p>Return <var title="">result</var>.</li> - </ol><h4 id="rdf"><span class="secno">5.5.2 </span>RDF</h4><p>To convert a <code>Document</code> to RDF, a user agent must run + </ol><h4 id="rdf-0"><span class="secno">5.5.2 </span>RDF</h4><p>To convert a <code>Document</code> to RDF, a user agent must run the following algorithm:<ol><li> <p>If <a href="#the-title-element-0">the <code>title</code> element</a> is not null, @@ -39279,7 +39284,8 @@ <li> <p>For each element that is also a <a href="#top-level-microdata-items" title="top-level - microdata items">top-level microdata item</a>, run the following steps:</p> + microdata items">top-level microdata item</a>, run the + following steps:</p> <ol><li> @@ -39298,6 +39304,18 @@ <dt>object <dd> <var title="">item</var> </dl></li> + <li> + + <p>If the element is, or is a descendant of, an + <code><a href="#the-address-element">address</a></code> element that <a href="#applyToSection">applies</a> to <a href="#the-body-element-0">the + <code>body</code> element</a>, an the <a href="#concept-item" title="concept-item">item</a> has the type <code title="md-vcard"><a href="#md-vcard">vcard</a></code>, generate the following + triple:</p> + + <dl class="triple"><dt>subject <dd> <a href="#the-document-s-current-address">the document's current address</a> + <dt>predicate <dd> <code title="">http://purl.org/dc/terms/creator</code> + <dt>object <dd> <var title="">item</var> + </dl></li> + </ol></li> </ol><p>When the user agent is to <dfn id="generate-the-triples-for-an-item">generate the triples for an @@ -39381,7 +39399,7 @@ <li><p>Return <var title="">subject</var>.</li> - </ol><h4 id="vcard-0"><span class="secno">5.5.3 </span>vCard</h4><p class="XXX">...<h4 id="icalendar"><span class="secno">5.5.4 </span>iCalendar</h4><p class="XXX">...</p><!-- prodid and version are required in output --><!-- value datetime vs date for dtstart, dtend, rdate, exdate; must include new dtstamp --><h2 id="browsers"><span class="secno">6 </span>Web browsers</h2><div class="impl"> + </ol><h4 id="vcard-0"><span class="secno">5.5.3 </span>vCard</h4><p class="XXX">...<h4 id="icalendar"><span class="secno">5.5.4 </span>iCalendar</h4><p class="XXX">...</p><!-- prodid and version are required in output --><!-- value datetime vs date for dtstart, dtend, rdate, exdate; must include new dtstamp --><h4 id="bibtex-0"><span class="secno">5.5.5 </span>BibTeX</h4><p class="XXX">...<h2 id="browsers"><span class="secno">6 </span>Web browsers</h2><div class="impl"> <p>This section describes features that apply most directly to Web browsers. Having said that, unless specified elsewhere, the
Received on Thursday, 14 May 2009 23:09:05 UTC