title: In feeds, can multiple <content:encoded> elements exist inside an <item>?
body: <p><strong>Precisely...</strong> can multiple <code>&lt;content:encoded&gt;</code> elements exist inside an <code>&lt;item&gt;</code> in a valid feed?</p>
  
  <hr>
  
  <p><strong>Full Story:</strong> I am modding the markup of my blog's RSS feeds for <a href="https://www.google.com/producer/currents" rel="nofollow">Google Currents</a>, and for the app to display image galleries in articles as slideshows, the markup of my feed should look like this:</p>
  
  <pre><code>&lt;rss version="2.0" ... xmlns:media="http://search.yahoo.com/mrss/"&gt;
  ...
  &lt;item&gt;
      &lt;title&gt;Item One&lt;/title&gt;
      &lt;link&gt;http://example.com/news/item-one&lt;/link&gt;
      &lt;description&gt;
          &lt;p&gt;This is an example feed item&lt;/p&gt;
      &lt;/description&gt;
      ...
      &lt;pubDate&gt;Thu, 04 Aug 2011 19:41:00 GMT&lt;/pubDate&gt;
      &lt;guid&gt;http://example.com/news/item-one&lt;/guid&gt;
      &lt;media:content height="84" type="image/jpeg" width="140" url="http://static.example.com/photo1.jpg"&gt;
          &lt;media:description&gt;Caption for Photo 1&lt;/media:description&gt;
      &lt;/media:content&gt;
      &lt;media:content height="100" type="image/jpeg" width="200" url="http://static.example.com/photo2.jpg"&gt;
          &lt;media:description&gt;Caption for Photo 2&lt;/media:description&gt;
      &lt;/media:content&gt;
      &lt;content:encoded&gt;&lt;![CDATA[
          &lt;p&gt;All the content goes here.&lt;/p&gt;
          &lt;p&gt;This is another line.&lt;/p&gt;
      ]]&gt;&lt;/content:encoded&gt;
      ...
  &lt;/item&gt;
  ...
  &lt;/rss&gt;
  </code></pre>
  
  <p>But due to the way my WordPress blog works, the galleries are shown within the article (which is usual), which means, the same happens in the RSS feeds as well. But the <code>&lt;media:content&gt;</code> element cannot be a sub-element of <code>&lt;content:encoded&gt;</code>.</p>
  
  <p>So, I am wondering if I can do it like this and it'd still be valid RSS feed:</p>
  
  <pre><code>&lt;rss version="2.0" ... xmlns:media="http://search.yahoo.com/mrss/"&gt;
  ...
  &lt;item&gt;
      &lt;title&gt;Item One&lt;/title&gt;
      &lt;link&gt;http://example.com/news/item-one&lt;/link&gt;
      &lt;description&gt;
          &lt;p&gt;This is an example feed item&lt;/p&gt;
      &lt;/description&gt;
      ...
      &lt;pubDate&gt;Thu, 04 Aug 2011 19:41:00 GMT&lt;/pubDate&gt;
      &lt;guid&gt;http://example.com/news/item-one&lt;/guid&gt;
  
      &lt;content:encoded&gt;&lt;![CDATA[
          &lt;p&gt;All the content goes here.&lt;/p&gt;
      ]]&gt;&lt;/content:encoded&gt;
  
      &lt;media:content height="84" type="image/jpeg" width="140" url="http://static.example.com/photo1.jpg"&gt;
          &lt;media:description&gt;Caption for Photo 1&lt;/media:description&gt;
      &lt;/media:content&gt;
      &lt;media:content height="100" type="image/jpeg" width="200" url="http://static.example.com/photo2.jpg"&gt;
          &lt;media:description&gt;Caption for Photo 2&lt;/media:description&gt;
      &lt;/media:content&gt;
  
      &lt;content:encoded&gt;&lt;![CDATA[
          &lt;p&gt;This is another line.&lt;/p&gt;
      ]]&gt;&lt;/content:encoded&gt;
  
      ...
  &lt;/item&gt;
  ...
  &lt;/rss&gt;
  </code></pre>
  
  <p>As you can see, I'd basically be splitting the <code>&lt;content:encoded&gt;</code> element into two, to give way for the slideshow markup. So, there'll be two <code>&lt;content:encoded&gt;</code> elements inside an <code>&lt;item&gt;</code>. Is that okay?</p>