« John McGimmick and the Beauty-Queen Huntress Sarah Palin | Main | Artist: Leonid Afremov »

September 03, 2008

Tech blog: Problems with rss2html.php with Feedburner feeds

Disclaimer: First of all if you don't blog or otherwise deal with RSS feeds for your webpage, then just ignore this blog entry.  There's nothing sexy or bitingly sarcastic here.  It's just geeky info. 

 

So I was getting the following error displayed on my webpage when using rss2html.php with Feedburner feeds:

 

$errorCode = 2
xml_error_string() = syntax error
xml_get_current_line_number() = 2
xml_get_current_column_number() = 49
xml_get_current_byte_index() = 89

 

This was troubling as I had no problems using my current settings for almost a year, and now suddenly I was getting this error.

I searched high and low, but other than finding a lot of other webpages fuxored with the same error, I didn't find any fixes, including the forums at Feedburner and the the ones for rss2html (feedforall.com).   It took me a lot of trial and error as I had no idea where the problem actually originated (especially since non-Feedburner RSS feeds worked fine.)

So anyway, here's the fix:

In your rss2html.php file it says:

 

// Set the following variable useFopenURL to one if you want/need to use
// fopen() instead of CURL

 

So we change this line from:

$useFopenURL = 0;

to

$useFopenURL = 1;

and it fixed the problem!  Just like that. 

 

So hopefully anyone now searching for this problem will get this blog entry.

 

Peace,

Izabael

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e0098e9f14883300e554de9dec8833

Listed below are links to weblogs that reference Tech blog: Problems with rss2html.php with Feedburner feeds:

Comments

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Izabael DaJinn

Izabael Twitters

    follow me on Twitter

    What's in a name?

    • How many ways to misspell Izabael? Izabel, Izabeal, Isabelle, Isabel DaJinn.

    Iza's Social Net:

    Amazon Goodies