| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Feb 2004
Posts: 650
![]() | Xml Hi, I am working one transfering someones site and on there main page they have a news feed. I uploaded the files to the new server and to bring in the feed on the main page is this code: <? require('feed.php'); ?> The problem is on the new server I am getting an error message saying it can't locate: XML/RSS.php so I went to the older server and I can't find this folder or file anywhere although it is working on the current server(old one) ????: NamePros.com http://www.namepros.com/programming/59673-xml.html I took a look at the feed.php file and here is what is is trying to do: require('XML/RSS.php'); $out = ''; $rss =& new XML_RSS('http://rss.news.yahoo.com/rss/topstories'); $rss->parse(); basically my question is do you know how I can get this feed to work on the new server?
__________________ Sincerely Mike Kelly |
| |
| | #2 (permalink) |
| NamePros Regular Join Date: Aug 2003 Location: UK
Posts: 568
![]() | right, I'm not 100% on this so excuse me if this is something you have done already. is your server case sensitive? if so, then XML is going to be different to xml for example. worth checking. from the code you have pasted, and knowing very little/nothing about feeds i have no idea what it does, maybe post the rest of the code so we can see it in full.. hope you get it fixed.. |
| |