Tema: PHP y XML
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/02/2011, 11:19
jimmy_rtcorp
 
Fecha de Ingreso: febrero-2011
Mensajes: 3
Antigüedad: 13 años, 3 meses
Puntos: 0
PHP y XML

Hola a todos
Tengo un problema con el feed de mi blog que no logro solucionar
Este es el error que me pone en el feed

Cita:
Error de lectura XML: contenido incorrecto tras un elemento XML del documento
Ubicación: http://jaimeburque.com/blog/?feed=rss2
Número de línea 20, columna 1:<?xml version="1.0" encoding="UTF-8"?>
Y este es lo que me dice el FeedValidator

It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate.
Source: http://jaimeburque.com/blog/?feed=rss2

Código HTML:
  1.
   2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
   3. <html xmlns="http://www.w3.org/1999/xhtml">
   4. <head>
   5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   6. <title>Documento sin t&iacute;tulo</title>
   7. </head>
   8.  
   9. <body><script type="text/javascript">
  10. var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  11. document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  12. </script>
  13. <script type="text/javascript">
  14. try {
  15. var pageTracker = _gat._getTracker("UA-8455222-2");
  16. pageTracker._trackPageview();
  17. } catch(err) {}</script>
  18. </body>
  19. </html>
  20.  
  21.  
  22. <rss version="2.0"
  23. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  24. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  25. xmlns:dc="http://purl.org/dc/elements/1.1/"
  26. xmlns:atom="http://www.w3.org/2005/Atom"
  27. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  28. > 


Muchas gracias