RSS Feed Error Line 75 (2 posts)

  1. mick3490
    Posted 6 years ago #

    My blog at http://www.blackhatsoftware.net has a lot of plugins running, but I have never had any issues with my RSS Feed until a few weeks ago. I have not been able to figure out which plugin is causing my problems.

    I keep getting this error when I attempt to access the feed:

    End tag 'script' does not match the start tag 'description'. Error processing resource 'http://feeds.feedburner.com/BlackHa...


    Yes, I use Feedburner. Feedburner is telling me I have a problem on Liine 75: Something to do with the description tags.

    ANyone have any ideas?

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    Looks like a plugin relating to comments is inserting JavaScript into the RSS feed. Lines 60 - 75 of your feed:

    	<script type="text/javascript">
    	// <![CDATA[
    		(function() {
    			var links = document.getElementsByTagName('a');
    			var query = '&';
    			for(var i = 0; i < links.length; i++) {
    				if(links[i].href.indexOf('#disqus_thread') >= 0) {
    					links[i].innerHTML = 'View Comments';
    					query += 'wpid' + i + '=' + encodeURIComponent(links[i].getAttribute('wpid')) + '&';
    			document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/blackhatsoftware/get_num_replies_from_wpid.js?v=2.0' + query + '"><' + '/script>');

Topic Closed

This topic has been closed to new replies.

About this Topic