NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Xml

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 12-13-2004, 04:09 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Feb 2004
Posts: 650
teclance is on a distinguished road
 



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
teclance is offline  
Old 12-13-2004, 05:08 PM   #2 (permalink)
NamePros Regular
Join Date: Aug 2003
Location: UK
Posts: 568
Tjobbe is on a distinguished road
 



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..
__________________
Web Site Design | Web Designers Blog
Tjobbe is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 01:35 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger