Are you hosted with Supanames? They and several other hosts block outgoing and incoming packets to their servers as they deem them a security threat. Email your host and ask them to unblock the IP address newsrss.bbc.co.uk resides at from their firewall.
David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajeshwar Anand Sent: 25 July 2005 1:49 To: [email protected] Subject: [backstage] Help with RSS reader Hi There http://backstage.bbc.co.uk/ is indeed a great opportunity for all programmers and enthusiasts. Thanks to everyone who keeps me updated, with the latest. I'm trying to create a news ticker too which displays all the news related to investment banking. Something which could be difficult to sort out but at present I'm stuck with uploading the RSS on my webpage. I'm trying to use PHP to remove the title, description, link etc and then display them. It works fine if the .xml file is on my server but when I try to use the xml file from say the link: http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/business/rss.xml It doesn't work. I'm not sure why. Just to make things clear I have added my source code. Say if I use a file called data.xml (which is simply a copy of a BBC RSS feed saved as XML in my server). The output is promising, you can find it at: http://www.anderstand.com/news/parser2.php The source is attached <parser2.php> But if I use the script at: (2 files copied and pasted from the website) http://www.apptools.com/phptools/xml/rss.php You can download it from: http://www.apptools.com/phptools/downloads/rssreader.zip It doesn't work. You can see the output at: http://www.anderstand.com/news/parser.php After enquiring a little I was told that maybe you should open socket connection and then try reading the RSS: So I did that file attached: <parser_try.php> Output at: http://www.anderstand.com/news/parser_try.php Can someone tell me why its not working? Your help will really be appreciated. Kind Regards -Raj -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.8/61 - Release Date: 01/08/05 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.8/61 - Release Date: 01/08/05 - Sent via the backstage.bbc.co.uk discussion group. To unsubscribe, please visit http://backstage.bbc.co.uk/archives/2005/01/mailing_list.html. Unofficial list archive: http://www.mail-archive.com/[email protected]/

