Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

local xml file for spry usage

Community Beginner ,
May 16, 2007 May 16, 2007

Copy link to clipboard

Copied

Hi There,
After my last post about this subject I have been browsing the web for an awnser which would enable me to get this done, but without any success.

What I'd like is a method (javascript or php would be fine) to get a remote xml feed from flickr to be saved locally for quick access by spry.

I'm not a real coder, so it is hard for me to find out. Please can anyone help?

Kind regards,

Benjamin
TOPICS
Server side applications

Views

272
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 16, 2007 May 16, 2007

Copy link to clipboard

Copied

specht1 wrote:
> What I'd like is a method (javascript or php would be fine) to get a remote
> xml feed from flickr to be saved locally for quick access by spry.

http://www.xml.com/pub/a/2005/11/09/fixing-ajax-xmlhttprequest-considered-harmful.html

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 16, 2007 May 16, 2007

Copy link to clipboard

Copied

David,
I've read the article, but somehow I do not know what you mean...

Kind regards,
Benjamin

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 16, 2007 May 16, 2007

Copy link to clipboard

Copied

LATEST
specht1 wrote:
> I've read the article, but somehow I do not know what you mean...

The cURL script in that article acts as a proxy for a remote XML feed.

If your hosting company hasn't disabled allow_url_fopen, you can create
an even simpler script:

<?php
$url = ' http://www.example.com/my.xml';
$remote = file_get_contents($url);
header('Content-type:text/xml');
echo $remote;
?>

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines