tags:

views:

109

answers:

1

How can I get Magpie RSS to identify itself as a user?

HTTP Response: HTTP/1.1 401 Unauthorized

is the error that i'm getting returned

+2  A: 

Since you didn't post any code, I assume you're calling MagpieRSS like:

$rss = fetch_rss('http://www.site.com/feed.rss');

To identify as user/password, just change the URL to this format:

$rss = fetch_rss('http://username:[email protected]/feed.rss');

See PHP's parse_url for more info.

jimyi