Magpie RSS and Authenticated Feeds

The excellent Magpie RSS reader has support for HTTP authenticated feeds, but the documentation doesn’t mention how to connect to them. Here’s how to do it:

$rss = fetch_rss(“http://username:password@url_of_feed”);

Advertisements

Software developer by day, scale model builder and wargamer by night.

Posted in PHP
One comment on “Magpie RSS and Authenticated Feeds
  1. Thanks this is just what I needed

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: