Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Xml

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

teclance

Established Member
Impact
1
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)

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?
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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..
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back