homepage Welcome to WebmasterWorld Guest from 54.227.25.58
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

    
Using XML data from another site
optik




msg:3926471
 1:35 pm on Jun 4, 2009 (gmt 0)

Hi

I want to able to read an xml file from another site to generate a page from the data on another site, what is the best way to go about this using, javascript, html and php?

 

httpwebwitch




msg:3928601
 1:17 pm on Jun 8, 2009 (gmt 0)

the best way: PHP, hands down. It's a one-liner:

$str = file_get_contents($url);

Before you do this, be sure that you're permitted to use their XML file like that. Does the other site intend for their data to be repubulished, or are you ... stealing?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved