Display Feedburner feeds on your sites by rss2html
February 26, 2010 | Posted by LUV | No CommentsHas anyone ever used rss2html to try to display Feedburner feeds on websites and found some errors? Normally, I use rss2html to display RSS feeds into several of my websites but I never try to use it to display any Feedburner feeds. In this morning, I got a chance to try to display some Reuter’s feeds on one website so I decide to use rss2html as normally. However, I got some errors shown below.
$errorCode = 7
xml_error_string() = mismatched tag
xml_get_current_line_number() = 13
xml_get_current_column_number() = 2
xml_get_current_byte_index() = 783
Then, I started searching the solutions from all over the place but I could find only some postings saying that rss2html currently does not support Feedburner feeds. So I guessed I have to try to find the solution by myself. What I did is
- Go to Reuters website, http://www.reuters.com
- Search for their feeds located at http://www.reuters.com/tools/rss
- Pick one of them such as Business News, http://feeds.reuters.com/reuters/businessNews
- Click ‘View Feed XML’ in ‘Subscribe Now’ box
- place the URL like http://feeds.reuters.com/reuters/businessNews?format=xml into the file ‘rss2html.php’
$XMLfilename = “http://feeds.reuters.com/reuters/businessNews?format=xml”;
Then it worked.
Tags: Feeds, HTML, RSS, rss2html