Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Hosting Requirements /

What you need to consider when choosing a hosting provider and plan.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Fetching RSS-Feeds via Proxy


Go to End


1951 Views

Avatar
fischli

Community Member, 7 Posts

15 June 2010 at 5:40pm

My Provider only allows outgoing connections from webserver via proxy authentification so I need to use curl_opts (CURLOPT_PROXY, CURLOPT_PROXY_AUTH and CURLOPT_USERPWD) for fetching external RSS-Feeds. SS uses SimplePie doesn't it?
Could I extend the file simplepie.inc in the sapphire/thirdparty-folder with this options or I'm totally wrong?

I have to use the event_calendar-module and to load external iCal-Feeds. Tried to replace the function call 'file-get-contents' with a new function but this doesnt't work. Any hints?