RSS feed error

Discussion in 'WordPress' started by thosecars82, Jan 1, 2010.

  1. #1
    Hello

    Does any one have any idea about solving this error? You can check the error if you go to http://www.arreglaordenador.com/blog/es/comments/feed/ or if you go to
    http://www.arreglaordenador.com/blog/ and click at the Entries RSS link.

    The error is displayed at the browser like this:

    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

    --------------------------------------------------------------------------------

    Only one top level element is allowed in an XML document. Error processing resource 'http://www.arreglaordenador.com/blog/e...

    <script type="text/javascript">
    -^

    Thanks
     
    thosecars82, Jan 1, 2010 IP
  2. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #2
    theapparatus, Jan 1, 2010 IP
  3. thosecars82

    thosecars82 Member

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #3
    Well the only thing I know is that when I remove this code
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-8424036-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    from the index.php from wordpress then it works in safari and internet explorer but now in firefox or at least that happened when I tried out the effect of removing the code written above.
    As for the google analytics i do not think I did anything strange. Actually I guess I just follow the steps. Well I have one google analytics for www.arreglaordenador.com and another one for www.arreglaordenador.com/blog. I do not know if this might be the problem.
    thanks in advance
     
    thosecars82, Jan 1, 2010 IP
  4. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It's the problem. Please remove it and we can go from there.

    edit: Google Analytics cocde goes in the footer of the site anyway right before the closing body tag. Not sure what instructions you're following but there's no body tag in the index.php file.

    Here's one method of adding in the code:

    http://www.trentmueller.com/blog/how-to-add-google-analytics-code-to-wordpress.html
    Code (markup):
     
    theapparatus, Jan 1, 2010 IP
  5. thosecars82

    thosecars82 Member

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #5
    BUT if I remove it then I will not have google statistics, right? I guess there is no fix for having google statistics and rss feed at the same time, right?
     
    thosecars82, Jan 1, 2010 IP
  6. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Dude, if you;re not going to listen to folks offering help, why bother asking for such help?

    Remove the code from the index.php file and we can go from there. I think I've already said that.
     
    theapparatus, Jan 1, 2010 IP
  7. thosecars82

    thosecars82 Member

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #7
    Hello
    Thanks, I already removed that code like you told me. Now, it works with firefox, safari, explorer and opera. What's next?
     
    thosecars82, Jan 1, 2010 IP