views:

858

answers:

7

I'm trying to develop a feed for an intranet document management system, so that staff can be notified of new documents. I have actually completed coding it, but there is no way to authenticate the user.

Also I'm not successful in adding the feed to news readers, but works with firefox Live Bookmark.

Any Ideas

Update:

Since I couldn't explain really well, I'll be specific I want it to work inside OutLook RSS Feeds.

Thanks

+1  A: 

You may try HTTP authentication (either basic or digest).

As for newsreaders, please clarify what are you doing and what's going wrong.

Anton Gogolev
Most of them can't recognize the feed since it is in the intranet.
saint
So, by news readers you mean *web-based* news readers? Try with a desktop news reader.
gnud
Nop, sorry for the confusion, If it works inside outlook RSS feed thats enough.
saint
+2  A: 

Well it's not very common, but i read an article about it a while ago

http://labs.silverorange.com/archive/2003/july/privaterss

that might help you out

Silfverstrom
That's an interesting read. thanks!
saint
+1  A: 

The feed reader has to be able to access the URL of the feed, so if it is only available to people on your network, Google Reader (for example) won't be able to resolve the address and find the feed.

Sohnee
A: 

There are so many feed readers and the authentication techniques are so hit-and-miss that I think traditional auth might be a blocking issue.

This is for an intranet, right? Do you use static IPs?

Perhaps having a authentication page (where they log in using their company credentials) and from then on they can access their RSS feed from that IP. If they move to another IP, they just need to re-auth.

You could even send the auth messages through the RSS feed.

Pain in the arse if the IPs move around lots, but a possible option.


Failing that, enforcing which readers can be used. NewsGator supports full authentication so would certainly be the simplest method.

Oli
A: 

Outlook 2007 onwards can subscribe to authenticated feeds as a workaround. That's not ideal but it's possible.

At your PHP end, you just need to use some basic HTTP auth.

Oli
That is an option, but It will be loads of work since I took the time to install firefox as the default.
saint
A: 

Why not create an auth token for that particular user, so that the token/feed id combination will auth the user?

phidah
A: 

You can also use Web Services to do that like REST/SOAP.

Iman Samizadeh