Re: RSS feeds and cURL
I'm connecting once every time the page is refreshed by a client - is that too much? I was considering caching the feeds on my server and updating the cache if the page is refreshed and the cache is over a day old (or it's passed whatever time the feeds are updated with new content, or something...).
It does the same thing with CURLOPT_FOLLOWLOCATION set to 0. That's how I had it set originally - my xml parsing code choked on the 302 page returned by cURL, which was how I discovered it was getting redirected.
It may well be that they are redirecting me for connecting too often.
|