[html5] r4238 - [t] (0) Support <meta name=author> in Atom generation. Fixing http://www.w3.org/ [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 21 01:02:49 PDT 2009


Author: ianh
Date: 2009-10-21 01:02:44 -0700 (Wed, 21 Oct 2009)
New Revision: 4238

Modified:
   complete.html
   index
   source
Log:
[t] (0) Support <meta name=author> in Atom generation.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7806

Modified: complete.html
===================================================================
--- complete.html	2009-10-21 07:51:16 UTC (rev 4237)
+++ complete.html	2009-10-21 08:02:44 UTC (rev 4238)
@@ -48336,9 +48336,23 @@
    <li><p>Append a <code title="">feed</code> element in the
    <a href=#atom-namespace>Atom namespace</a> to <var title="">R</var>.</li>
 
-   <!-- <atom:author> is required either at the feed level (here) or
-   the entry level (below) but we don't provide it -->
+   <li>
 
+    <p>For each <code><a href=#meta>meta</a></code> element with a <code title=attr-meta-name><a href=#attr-meta-name>name</a></code> attribute and a <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute and whose <code title=attr-meta-name><a href=#attr-meta-name>name</a></code> attribute's value is <code title=meta-author><a href=#meta-author>author</a></code>, run the following substeps:</p>
+
+    <ol><li><p>Append an <code title="">author</code> element in the
+     <a href=#atom-namespace>Atom namespace</a> to the root element of <var title="">R</var>.</li>
+
+     <li><p>Append a <code title="">name</code> element in the
+     <a href=#atom-namespace>Atom namespace</a> to the element created in the
+     previous step.</p>
+
+     <li><p>Append a text node whose data is the value of the
+     <code><a href=#meta>meta</a></code> element's <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute to the element
+     created in the previous step.</li>
+
+    </ol></li>
+
    <li>
 
     <p>If there is a <code><a href=#the-link-element>link</a></code> element whose <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute's value includes the

Modified: index
===================================================================
--- index	2009-10-21 07:51:16 UTC (rev 4237)
+++ index	2009-10-21 08:02:44 UTC (rev 4238)
@@ -45496,9 +45496,23 @@
    <li><p>Append a <code title="">feed</code> element in the
    <a href=#atom-namespace>Atom namespace</a> to <var title="">R</var>.</li>
 
-   <!-- <atom:author> is required either at the feed level (here) or
-   the entry level (below) but we don't provide it -->
+   <li>
 
+    <p>For each <code><a href=#meta>meta</a></code> element with a <code title=attr-meta-name><a href=#attr-meta-name>name</a></code> attribute and a <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute and whose <code title=attr-meta-name><a href=#attr-meta-name>name</a></code> attribute's value is <code title=meta-author><a href=#meta-author>author</a></code>, run the following substeps:</p>
+
+    <ol><li><p>Append an <code title="">author</code> element in the
+     <a href=#atom-namespace>Atom namespace</a> to the root element of <var title="">R</var>.</li>
+
+     <li><p>Append a <code title="">name</code> element in the
+     <a href=#atom-namespace>Atom namespace</a> to the element created in the
+     previous step.</p>
+
+     <li><p>Append a text node whose data is the value of the
+     <code><a href=#meta>meta</a></code> element's <code title=attr-meta-content><a href=#attr-meta-content>content</a></code> attribute to the element
+     created in the previous step.</li>
+
+    </ol></li>
+
    <li>
 
     <p>If there is a <code><a href=#the-link-element>link</a></code> element whose <code title=attr-link-rel><a href=#attr-link-rel>rel</a></code> attribute's value includes the

Modified: source
===================================================================
--- source	2009-10-21 07:51:16 UTC (rev 4237)
+++ source	2009-10-21 08:02:44 UTC (rev 4238)
@@ -54277,9 +54277,33 @@
    <li><p>Append a <code title="">feed</code> element in the
    <span>Atom namespace</span> to <var title="">R</var>.</p></li>
 
-   <!-- <atom:author> is required either at the feed level (here) or
-   the entry level (below) but we don't provide it -->
+   <li>
 
+    <p>For each <code>meta</code> element with a <code
+    title="attr-meta-name">name</code> attribute and a <code
+    title="attr-meta-content">content</code> attribute and whose <code
+    title="attr-meta-name">name</code> attribute's value is <code
+    title="meta-author">author</code>, run the following substeps:</p>
+
+    <ol>
+
+     <li><p>Append an <code title="">author</code> element in the
+     <span>Atom namespace</span> to the root element of <var
+     title="">R</var>.</p></li>
+
+     <li><p>Append a <code title="">name</code> element in the
+     <span>Atom namespace</span> to the element created in the
+     previous step.</p>
+
+     <li><p>Append a text node whose data is the value of the
+     <code>meta</code> element's <code
+     title="attr-meta-content">content</code> attribute to the element
+     created in the previous step.</p></li>
+
+    </ol>
+
+   </li>
+
    <li>
 
     <p>If there is a <code>link</code> element whose <code




More information about the Commit-Watchers mailing list