[thelist] ajax question, server vs. client request

Matt Warden mwarden at gmail.com
Fri Aug 12 15:13:48 CDT 2005


On 8/12/05, Anthony <apwebdesign at yahoo.com> wrote:
> Hmmm....anyway around this? Is it possible to parse
> the rss feed directly?

The way around the restriction is to proxy the rss fetch with your server. i.e.

request.open(..., '/fetchfeed.php?id='+ id, ...);
request.send(null);
...

where fetchfeed.php uses php to open the rss feed and writes it to the
output stream (with the appropriate content type header).

However, obviously this will come from your server's IP.

-- 
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.


More information about the thelist mailing list