Forums

RSS Error (9 posts)

  1. Sajestic
    Member
    Posted 1 year ago #

    Website - http://www.sajesticdesigns.com/blog

    Getting this error when trying to subscribe after adding RSS url feed to code:

    XML Parsing Error: XML or text declaration not at start of entity
    Location: http://sajesticdesigns.com/blog/?feed=rss2
    Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?>

    I'm guessing there is something missing in the code? I tried adding a feed tag into the sidebar template but I still get the same error.

    Any help on this would be much appreciated and please do in simple non techy terms. I should also note, I have not had a feed at all and I am trying to add it in. I have never used one before.

    Thank you kindly for your time,
    Julie

  2. Chris_K
    Administrator
    Posted 1 year ago #

    Odd that search didn't turn anything up on this one as it is a fairly common mistake that folks make.

    Somewhere in a .php file you have an extra space or line before the first <?php or after the last ?> in the file.
    Start by checking your wp-config.php and any files you might have recently edited.

  3. Sajestic
    Member
    Posted 1 year ago #

    Thank you HandySolo,

    I will look through the files this weekend and get back to you on it. Excellent fast reply. Great service! This has caused me many a sleepless nights trying to figure it out. :)

  4. Sajestic
    Member
    Posted 1 year ago #

    Hi HandySolo,

    After numerous attempts of trial and error, I finally found the problem within the plugins folder. The blank space was in the permalinks php file! The dreaded blank line curse has be solved!

    Thank you so much for your support,
    Julie

  5. flyaga
    Member
    Posted 10 months ago #

    Please try this plugin fix-rss-feed, it will fix your rss error automatically, and you can get more information from http://wordpress.org/extend/plugins/fix-rss-feed/, and you also can get help from the author website http://www.flyaga.info/en/wordpress/plugins/fix-rss-feed-error-wordpress-plugins.htm

  6. jab2009
    Member
    Posted 3 months ago #

    I'm having a similar problem. Anybody know how to fix this? This link shows exactly where the error is, but I don't know how to remedy it.

    http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.carbiztalk.com%2Fforums%2Fsyndication.php%3Flimit%3D10

    Thanks!

  7. iridiax
    Member
    Posted 3 months ago #

    jab2009: Free web hosts often insert tracking code like this or ads into all web files, and this will mess up WordPress.

  8. kducey
    Member
    Posted 2 months ago #

    I am having an issue with an ampersand, and I belive the plugin will not help.

    the blog feed url is:
    http://www.princetoncapitalllc.com/business-opportunity-business-brokers-M&A-blog/feed/

    I ran it through the feed validator, and the source has errors. The interesting thing is formats the link to the blog correctly:

    `12.<title>How to Sell a Business</title>
    13.<atom:link href="http://www.princetoncapitalllc.com/business-opportunity-business-brokers-M&A-blog/feed/" rel="self" type="application/rss+xml" />
    14.<link>http://www.princetoncapitalllc.com/business-opportunity-business-brokers-M&A-blog</link>
    15.<description>Mergers & Acquisitions (M&A) Strategies to help with your business for sale</description>
    16.<lastBuildDate>Fri, 28 Aug 2009 17:02:50 +0000</lastBuildDate>

    but not the url for the actual post:

    22.<title>Things to Know when Selling a Business</title>
    23.<link>http://www.princetoncapitalllc.com/business-opportunity-business-brokers-M&A-blog/2009/08/26/dos-and-donts-of-business-sales/things-to-know-when-selling-a-business/</link>
    24.<comments>http://www.princetoncapitalllc.com/business-opportunity-business-brokers-M&A-blog/2009/08/26/dos-and-donts-of-business-sales/things-to-know-when-selling-a-business/#comments</comments>
    25.<pubDate>Wed, 26 Aug 2009 20:56:47 +0000</pubDate>

    Therefore it blows up when it hits the ampersand in the actual blog link url, but it gets through the blog title url.

    Is there a way for me to fix this by applying the formatting that it does for the blog title URL to the blog comment URL?

    Thanks!

    Ken

  9. kducey
    Member
    Posted 2 months ago #

    sorry I did not apply the code correctly, the first is:

    12.<title>How to Sell a Business</title>
    13.<atom:link href="http://www.princetoncapitalllc.com/business-opportunity-business-brokers-M&A-blog/feed/" rel="self" type="application/rss+xml" />
    14.<link>http://www.princetoncapitalllc.com/business-opportunity-business-brokers-M&A-blog</link>
    15.<description>Mergers & Acquisitions (M&A) Strategies to help with your business for sale</description>
    16.<lastBuildDate>Fri, 28 Aug 2009 17:02:50 +0000</lastBuildDate>

    The second part - which causes an error is:

    22.<title>Things to Know when Selling a Business</title>
    23.<link>http://www.princetoncapitalllc.com/business-opportunity-business-brokers-M&A-blog/2009/08/26/dos-and-donts-of-business-sales/things-to-know-when-selling-a-business/</link>
    24.<comments>http://www.princetoncapitalllc.com/business-opportunity-business-brokers-M&A-blog/2009/08/26/dos-and-donts-of-business-sales/things-to-know-when-selling-a-business/#comments</comments>
    25.<pubDate>Wed, 26 Aug 2009 20:56:47 +0000</pubDate>
    26.<dc:creator>Ken Ducey</dc:creator>
    27.<category><![CDATA[Do's and Don'ts of Business Sales]]></category>
    28.<category><![CDATA[Business Broker]]></category>
    29.<category><![CDATA[CT]]></category>
    30.
    31.<guid isPermaLink="false">http://www.princetoncapitalllc.com/business-opportunity-business-brokers-M&A-blog/?p=67</guid>

    I can't seem to keep it from reformatting - the first has the code for the ampersand, the second link has the actual ampersand.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.