Is this XML file correct for RSS feeding?

Posted by Hermet on Stack Overflow See other posts from Stack Overflow or by Hermet
Published on 2010-05-16T14:20:32Z Indexed on 2010/05/16 14:30 UTC
Read the original article Hit count: 187

Filed under:
|
|
|

Hi guys

I am generating a XML-RSS type file from PHP.

The output for example is like this

<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
 <channel>
    <title>Mi web mola</title>
    <link>http://www.dominio.com/blog.php</link>
    <language>es-ES</language>
    <description>Mallas y eso</description>
    <generator>Autor</generator>

     <item>
      <title>Articulo de prueba</title>
      <link>http://www.midominio.com/2342</link>
      <pubDate>14/06/2010</pubDate>
      <description><![CDATA[Descripcion de prueba bla bla bla]]></description>
      <content:encoded><![CDATA[Contenido prueba]]></content:encoded>
     </item>

 </channel>
</rss> 

... and all I can see in the Firefox preview is the title and the description of the blog, not the items, but in the source it appears correctly, so I've thought it must be a parse error or something like that..

What could be wrong?

Again, excuse me for my bad english, and thank you very much.

© Stack Overflow or respective owner

Related posts about rss

Related posts about php