/    Sign up×
Community /Pin to ProfileBookmark

Password Protected RSS Feed

Hi,
Is there anyone who can help me with Rss feed which is password protected i have password with me but when i try to display it on my site through the url the title’s from the URL are displayed on the site but when i accesss them they ask for password how can i resolve this issue with password remains as it is now.

Thanks

Any help would be appreciated.

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@BIOSTALLApr 09.2010 — Hi Tariq,

How are you password protecting your RSS feed? Does a user have to fill in a form first with a username/password combo? Are you using a .htpasswd file?

I'm also a bit mift as to exactly what the problem here is. Are you able to explain in a bit more detail? Maybe provide an example.

Cheers
Copy linkTweet thisAlerts:
@tariq_wajihaauthorApr 10.2010 — Hi Biostall,

Thank you for replying and the problem actually was that my client gave a link from which i have to get RSS feeds on his site and that link is password protected when i will access that link and subscribe to the feed it will ask me for a password only password field. Same problem i was facing when i displayed Rss Feed on my template that it displayed only title and when i open it it asks for a password.....
Copy linkTweet thisAlerts:
@ScriptageApr 10.2010 — <?php

$body = http_get('http://example.com/rssfeed.xml', array(httpauth => 'username:password'));

print $body;

?>
×

Success!

Help @tariq_wajiha spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...