Forum Moderators: open

Message Too Old, No Replies

News.com.au RSS feeds - error?

Can't parse these feeds

         

Glen_Murphy

4:37 am on Nov 19, 2004 (gmt 0)

10+ Year Member



Hi,

I am using a script called xmlnews.cgi to output rss newsfeed headlines on my website.

I want this script to access the RSS feeds made available by News.com.au in Australia. However, the above script does not recognise the content, yet it is okay with others.

For example, it will not parse:

news.com.au url>http://headlinefeeds.news.com.au/servlet/Controller?controlleraction=feedaction&feedid=1&count=10&typeid=4

However the script is okay with a Yahoo RSS file:

yahoo url>http://rss.news.yahoo.com/rss/topstories

The only difference in the files that I can notice is that the News.com.au RSS starts with

<?xml version="1.0" encoding="UTF-8"?>

and the Yahoo RSS starts with

<?xml version="1.0" encoding="iso-8859-1"?>

Could the UTF-8 encoding be causing a problem?

Any help for this RSS newbie would be appreciated.

cheers,
Glen.

Glen_Murphy

5:27 am on Nov 19, 2004 (gmt 0)

10+ Year Member



Please ignore this thread (or delete). I have solved this issue (nothing to do with XML structure, rather the original script).

Thanks