Blog RSS problem?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/6/2010 4:12:30 AM
Gravatar
Total Posts 65

Blog RSS problem?

Hi,
 

I have a blog module placed on Page2 and now I have added a RRS channel module to Page1 to show parts of the blog rrs.When clicking on the blog RRS button I will come to a pge named blog3rss.aspx and this page will show the blog posts. This url is added as a channel to the RRS channel module on Page1. When browsing Page1 the RRS module will prompt "this feed is not available"? I have also tried to add this RRS URL to a standalon RRS program but its the same problem there(even when it says that it have found a feed)? I have tried to set the cache on the RRS module to 1 but this does not help?

What do I need to make the RRS available?

BestRegards

10/6/2010 6:28:56 AM
Gravatar
Total Posts 18439

Re: Blog RSS problem?

please provide the url for your feed

10/6/2010 7:10:16 AM
Gravatar
Total Posts 65

Re: Blog RSS problem?

Hi,

The problem is that the blog module/feed is on a page that are protected(only a user with a specific roll can access it), could this be the problem? I have tried to add the feed to my RSS Bandit application and specify the user and password but this is getting me the same result. I suppose that saving the blog3rss.aspx and send it to you does not help?

Another solution would be to add a public page and on this page place the blog module but I will have to remove this page later on. Would that do?

BestRegards

10/6/2010 7:11:28 AM
Gravatar
Total Posts 10

Re: Blog RSS problem?

Hi Snowman,

I've had the same problem. I think this is because using the blogXXrss.aspx as an input will violate the URL Manager routing rules. If you look into the URL Manager you will find a rule that says something like ths:

   http://website/blog77rss.aspx
maps to http://website/Blog/RSS.aspx?pageid=12&mid=77 View Friendly Url

You can use the 'maps to' part of this rule as input of the Feed Manager.

If you like to define your own rss entry then you should use also the 'maps to' as target and not the blogXXrss.aspx. Using blogXXrss.aspx will not work. So if you want to create your own rss link create something like this:

   http://website/rss
maps to http://website/Blog/RSS.aspx?pageid=12&mid=77 View Friendly Url

That are my findings. May be this helps.

Thanks,
Martin

10/6/2010 7:12:32 AM
Gravatar
Total Posts 18439

Re: Blog RSS problem?

Yes, that is the problem. RSS is meant for publishing things publicly so it does not work well with protected content. If you want the content to be available to the public via RSS then you should not protect the content by roles.

Hope it helps,

Joe

10/6/2010 7:14:35 AM
Gravatar
Total Posts 65

Re: Blog RSS problem?

Hi,

I tried to add a public page with a blog module and this does work. I can use RSS Bandit to read the feed and the onpage rss feed can also read the feed. So how do I handle a protected blog feed?

BestRegards

10/6/2010 7:24:36 AM
Gravatar
Total Posts 65

Re: Blog RSS problem?

Thanks!

Yes that´s correct, the blog module is placed on a protected page and this is becourse the contet may only be watched by our members. This content needs to be published in with the RRS feed module on another page (that also is protected).

Even if I implement MartinGer solution will this work when the pages is protected? And will the content be private/protected as well?

BestRegards

10/6/2010 7:30:35 AM
Gravatar
Total Posts 18439

Re: Blog RSS problem?

No, as I said RSS is for publishing to the public, it is antithetical to securing the content. you can do one or the other not both.

10/6/2010 7:37:47 AM
Gravatar
Total Posts 65

Re: Blog RSS problem?

Hi,

Okay, RSS Bandit do got the possibility to give user and password for protected RRS so I suppose that thay do exists. But I do understand what you are referring to.

My new question is then if there is any way of publishing parts of my blog posts(protected) on another page(also protected) on the same site? Or do I have to build my own module for this to work?

BestRegards

10/6/2010 7:40:34 AM
Gravatar
Total Posts 18439

Re: Blog RSS problem?

There is a hacky solution if you want to secure the blog page but still use the feed in feed manager in the same site.

You can generate a random guid and add it to user.config like this:

<add key="InternalFeedSecurityBypassKey" value="3B05C70F-8399-421B-8FDE-CAABB7811779" />

ie in sql server you could generate a guid with SELECT newid()

if a guid is present in this setting then the feed manager will pass the guid in the request for the feed and the blog rss page will allow it to be served if  it sees the correct guid.

However, it is a hack and NOT ENTIRELY SECURE, so use this hack at your own discretion. If someone can find out the guid then they can bypass the security also and get the feed data. It would not be easy to find out the guid but also not impossible. 

If you use this solution you should use the blog feed as it is not use feedburner and it will not work with external feed readers like FeedBandit since they don't know the guid.

Hope it helps,

Joe

10/6/2010 8:01:55 AM
Gravatar
Total Posts 65

Re: Blog RSS problem?

Thanks!

I have added this to my user.config :

<add key="InternalFeedSecurityBypassKey" value="Generate GUID" />

But the reugular RRS Channel module reports the same problem. You say that I should use the "blog feed" ? Is this a special module for listening on the blog module RRS feed? I can only find the RRS Channel module?

BestRegards

You must sign in to post in the forums. This thread is closed to new posts.