Ready to get started?Download WordPress


Roles & RSS Feeds (7 posts)

  1. jrad2u
    Posted 8 years ago #

    I've set up my site so that the great majority of the posts on the site are only viewed by logged in users. However, my RSS feed only shows posts that are public.

    How can I make the RSS feed content for registered users available only to registered users?

  2. manstraw
    Posted 8 years ago #

    How are the posts restricted to logged in users only? Do you use a plugin?

  3. jrad2u
    Posted 8 years ago #

    Yeah, I use Viewlevel2 http://blog.firetree.net/2005/08/25/viewlevel-20/

    I should probably chime in on their support forum, but do you have any ideas? I'd like to have subscribers be able to get the posts and non-subscribers to only get public posts (however this last feature is not critical).


  4. manstraw
    Posted 8 years ago #

    The essense of what you want to be able to do is login to read the RSS feed. If I login through my firefox browser, and then have a livebookmark to read the rss, it will now work.

    I'm not sure there is a method of logging in through the url with wordpress. If you were using .htaccess to control users, you could use the form http://user:pass@yourdomain.com/blog/feed. Perhaps there is a plugin that will get the username and password for wordpress from the same place .htaccess gets it. That is, from the separate dialog box that normally pops up.

    ok, I just woke up, and I'm not clear headed. that might not have made sense. i'll look around a bit and see if there's something written about alternative login methods.

    off to search for caffeine ......

  5. manstraw
    Posted 8 years ago #

    OK, I had some tea, which is almost like caffeine.

    The essence of what you want to do is install some kind of http authentication plugin. I took a quick look, and found this > http://dev.wp-plugins.org/browser/http-authentication/

    I haven't tested it, and I don't know if there are other better ones.

    Once you have that, an rss reader can put their user/pass in the url as I described above. (http://user:pass@adomain.com/blog/feed). Use the actual url to the your feed, and just insert the user:pass@ bit after the //.

    You could test this in a browser, except for IE, as I think microsoft disabled that function. If you're *logged out*, and try the url in firefox, you should get the xml for the feed.

    Give that a try and report back here. I'll advise if you have a problem. Hopefully it will just work, so I don't have to actually try installing it myself! ;)

  6. manstraw
    Posted 8 years ago #

    after investigating that a bit, it might not be fully baked for your needs. I think it wants the user to be already authorized, and won't prompt for the authentication dialog on it's own. that could be modified, but I don't have the time to look at it. I might suggest you contact the author.

    In any event, searching for http authentication is key for what you want. If you can find a plugin that handles that, your subscribers will be able to read the rss feed.

  7. jrad2u
    Posted 8 years ago #

    thanks, I'll take a look!

Topic Closed

This topic has been closed to new replies.

About this Topic