-
Notifications
You must be signed in to change notification settings - Fork 393
Closed
Labels
Description
Hi
The below feed URL is correct and should be parsed with no problem.
http://www.telegraphindia.com/feeds/rss.jsp?id=4
However, passing it to simplepie returns no data.
After a lot of debugging, I saw that the response I got from their server was actually html, which meant
that they redirected my original request for the feed.
Finally, I ended up commenting out the
curl_setopt($fp, CURLOPT_REFERER, $url);
in the SimplePie_File constructor and that fixed the issue.
Apparently, there is some bizarre server side logic on their end also, but I cannot think of a reason why this header is needed.
Reactions are currently unavailable