• Hi

    I have done a search before I posted here seems a lot of people have had the same problem, but their solutions did not work for me.

    Here is the feed address https://www.brianjclifton.com/blog/feed/ (it appears as just text, does not even work in IE)

    I have tried using feedburner plugin but that too does not work when I try to confirm its validity now it gives me these errors:

    line 2, column 0: XML parsing error: <unknown>:2:0: xml declaration not at start of external entity [help]
    
    <?xml version="1.0" encoding="UTF-8"?>
    
    In addition, this feed has issues that may cause problems for some users. We recommend fixing these issues.
    
    Feeds should not be served with the "text/html" media type
    Your feed appears to be encoded as "utf-8", but your server is reporting "US-ASCII

    Please could somone help, I have been trying to fix this for over a week now!

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • What plugins are we running? You have a big pile of stuff that is NOT part of a feed in there:

    <title>Master Web Analytics</title>
    
    <script src="https://www.google-analytics.com/urchin.js" type="text/javascript"></script>
    <script src="https://www.ga-experts.co.uk/custom_se.js" type="text/javascript"></script>
    <script type="text/javascript">
    	_uacct = "UA-1190129-1";
    	urchinTracker();
    </script>
    
    <script src="https://www.brianjclifton.com/addLinkerEvents.js" type="text/javascript"></script>
    
    <!-- For Google Analytic tracking. Do not remove -->
    </title> <!-- IndexTools Customization Code -->
    <!-- Remove leading // to activate custom variables -->
    <script language="Javascript">
    //var DOCUMENTGROUP='';
    //var DOCUMENTNAME='';
    //var ACTION='';
    </script>
    <!-- End of Customization Code -->
    <!-- IndexTools Code v4.00 - All rights reserved -->
    <script language="javascript1.1" src="https://www.brianjclifton.com/indextools.js"></script><noscript>
    <img src="https://stats.indextools.com/p.pl?a=1000221152975&js=no" width="1" height="1"></noscript><!--//-->
    <!-- End of IndexTools Code -->

    What is “IndexTools”?

    Thread Starter mumford

    (@mumford)

    Hi

    Thanks for the response.

    Most of that is for Google Analytics, do I need to move them form the page to an external file?

    Are you adding analytics code to CORE files? Don’t do that! It should only be in your theme files.

    Thread Starter mumford

    (@mumford)

    no they are in the header.php file for example

    <script src="https://www.brianjclifton.com/InternalSearch.js"type="text/javascript"></script>

    and this js file is in the route of brianjclifton.com

    The urchin tracker code gets added by the server.

    hope that helps!

    Well, feeds shouldn’t be pulling in the theme’s header.php file…

    Have you modified any non-theme related files?

    If not, what plugins are you running and have you tried checking your feed with them disabled?

    Thread Starter mumford

    (@mumford)

    No I have not modified pages other than the theme ones (eg sidebar.php etc)

    I did deactivate all the plugins but i still got the feed looking the way it is at the moment ??

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    You have somehow modified the wp-rss2.php file. There’s no other way I can see that you could insert code between the title and the link elements in the channel.

    Replace the wp-rss2.php file with an unmodified copy from the original wordpress ZIP file.

    Also, you may have a blank line in your wp-config.php file. Somewhere at either the beginning or the end. This is not allowed, and you must find and remove it. The wp-config.php file must start with <?php and end with ?> and not have anything outside of those two markers.

    Thread Starter mumford

    (@mumford)

    Thanks for the response, i tried what you suggested but it is still not working!

    I really cannot see what is causing my problems ??

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    You still have all that extra crap in your RSS feed. Did you replace the wp-rss2.php file with a fresh, unaltered, copy? Redownload WordPress and get a fresh copy of the file again.

    If it still doesn’t fix that problem, then you are putting the file in the wrong place or doing something else wrong. I can’t help you much beyond telling you what to do, so in that case perhaps you should consider hiring somebody to fix it for you.

    smeger

    (@smeger)

    I’m also experiencing this problem. I tried both the wp-rss.php and wp-config.php solutions offered. There is NOTHING in these files that is pulling in the google analytics code from my header, but when I attempt to configure a FeedBurner feed, i get the same message about “junk” in the feed.
    At first, I had just inserted the Google Analytics script into my footer.php file through the “edit theme” page. When I began experiencing this problem, I decided to delete all analytics scripts and install the Google Analyticator plugin. Even with that plugin deactivated, I get the exact same error message.

    I should note that I am running the WordBook plugin that feeds my posts to my facebook. I’ve also enabled the facebook “notes” application to import new posts. So some kind of feed must be working…? I don’t understand.

    I need help ??

    dombrorj

    (@dombrorj)

    mumford, I have the same issue and it looks like you resolved this. Can you post a solution? I think it may have something to do with Google Analyticator

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘FEED not working’ is closed to new replies.