Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 06:31 am EDT

Geeklog Forums

Pulling password protected RSS feeds


Status: offline

lcox

Forum User
Junior
Registered: 07/12/02
Posts: 31
Problem: I have a geeklog site on an intranet that needs to pull a password protected RSS feed.

In order to anticipate the question "why would you password protect an RSS feed in the first place?"...this is inside a city government and there is some information that's sensitive but not classified or private. A lot of types of information such as emergency responder, 911 or project statuses end up in buckets like this.

So, I've discovered the Portal Block has no provision for providing a username/password to pull a password protected RSS feed. Am I missing something, or is there a hack out there someone's done which supports this? If not, what's the best approach to provide a portal block for protected RSS?

Thanks,

Landon
 Quote

Status: offline

trinity

Forum User
Regular Poster
Registered: 01/30/05
Posts: 80
they are probaqly useing http-auth
you can set the username and pass in the url by doing http://<username>:<password>@<domainname>.<tld>/path/to/feed
(i think i got that syntax right)
This is asumeing the feed classes suport http-auth

you can set a password on rss feeds by useing a .htaccess file and a .htpasswd file
glFusion - Technology Fused with Style - www.gllabs.org
 Quote

Status: offline

lcox

Forum User
Junior
Registered: 07/12/02
Posts: 31
Perfect - that worked exactly as I had hoped.

Thank you,

Landon
 Quote

All times are EDT. The time is now 06:31 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content