title: Parsing error -- Creating an RSS feed with CodeIgniter
body: <p>Hey guys, I'm creating an rss feed with codeigniter and I get the specific error:
  XML Parsing Error: junk after document element
  Location: <a href="http://mysite.com/feeds/latest" rel="nofollow">http://mysite.com/feeds/latest</a></p>
  
  <p>After googling it and not being able to find a solution to my issue (despite a ton of results) I came here for some advice.</p>
  
  <p>I have</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0"&gt;
    &lt;channel&gt;
  </code></pre>
  
  <p>Followed by my websites title, link, description, pubdate, dc:date tags.</p>
  
  <p>Followed by a foreach statement that loops results like so:</p>
  
  <pre><code>&lt;?php foreach($feedResults as $feedItem): ?&gt;
   &lt;item&gt;
         &lt;title&gt;&lt;?php echo $feedItem-&gt;title; ?&gt;&lt;/title&gt;
            &lt;link&gt;&lt;?php echo site_url('/'.$feedItem-&gt;ID) ?&gt;&lt;/link&gt;
            &lt;guid&gt;&lt;?php echo site_url('/'.$feedItem-&gt;ID) ?&gt;&lt;/guid&gt;
      &lt;description&gt;descri[&lt;/description&gt;
            &lt;pubDate&gt;&lt;?php echo date ('r', $feedItem-&gt;time());?&gt;&lt;/pubDate&gt;
      &lt;/item&gt;        
      &lt;?php endforeach; ?&gt;
  </code></pre>
  
  <p>My codeigniter controller doesn't do much besides retrieve $feedResults, sets the header to :
  header("Content-Type: text/xml");
  and then passes the results to the view.</p>
  
  <p>Thanks guys.</p>