Skip to content

Commit

Permalink
[t] (0) Support <meta name=author> in Atom generation.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7806

git-svn-id: http://svn.whatwg.org/webapps@4238 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 21, 2009
1 parent 4382644 commit 1c334b8
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 6 deletions.
18 changes: 16 additions & 2 deletions complete.html
Expand Up @@ -48336,8 +48336,22 @@ <h4 id=json><span class=secno>5.5.1 </span>JSON</h4>
<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>

Expand Down
18 changes: 16 additions & 2 deletions index
Expand Up @@ -45496,8 +45496,22 @@ document.body.appendChild(outer);</pre>
<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>

Expand Down
28 changes: 26 additions & 2 deletions source
Expand Up @@ -54277,8 +54277,32 @@ END:VCARD</pre>
<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>

Expand Down

0 comments on commit 1c334b8

Please sign in to comment.