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

10/6/2010 8:38:24 AM
Gravatar
Total Posts 18439

Re: Blog RSS problem?

Changes in user.config are not automatically detected. If you make a change there you need to touch Web.config so it will reload settings.

http://www.mojoportal.com/webconfig.aspx

Hope it helps,

Joe

10/6/2010 8:49:02 AM
Gravatar
Total Posts 65

Re: Blog RSS problem?

Thanks!

Yes I do know about that so I made a update in web.config as well but that did not help. I have also tested to restart the Site but with the same result? Should I spcify this GUID in the RRS feed module in some way or will the RRS feed URL do?

BestRegards

10/6/2010 9:04:31 AM
Gravatar
Total Posts 18439

Re: Blog RSS problem?

clear the feed cache, go to edit a feed and click the button to clear the cache

10/6/2010 9:09:10 AM
Gravatar
Total Posts 65

Re: Blog RSS problem?

Thanks alot! It worked.

2/1/2011 12:44:00 AM
Gravatar
Total Posts 1

Re: Blog RSS problem?

Thank you so much...It worked successfully!!!

4/25/2011 10:39:47 AM
Gravatar
Total Posts 6

Re: Blog RSS problem?

Dear ,

 

I can't use RSS with the blog module , can you help me .

 

the map address

http://www.daliakhairy.com/Blog/RSS.aspx?pageid=34&mid=40 when click on this link this asp.net error display

 

Value cannot be null.
Parameter name: value

and when I take this link to Google Feedburner this message appears :

Received HTTP error: "Internal Server Error" while fetching source feed.
Identify Feed Source
Back to My Feeds

The feed URL you entered is:

http://www.daliakhairy.com/Blog/RSS.aspx?pageid=34&mid=40

We could not find a valid feed at that address. Here are some possible reasons this might have happened

so waht's the problem

4/25/2011 10:50:51 AM
Gravatar
Total Posts 18439

Re: Blog RSS problem?

The Blog feed will not work until there are blog posts and the blog must not be protected by roles if you want the feed to be publicly accessible.

When I visit your page at http://www.daliakhairy.com/Default.aspx?pageid=34 I don't see any Blog on that page.

4/25/2011 2:05:21 PM
Gravatar
Total Posts 6

Re: Blog RSS problem?

Yes Sir , the blog is Protected by Role I created before . So it must me Public ???

4/25/2011 2:39:32 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Blog RSS problem?

Yes, if you want anonymous visitors to be able to view the blog RSS feed (and click through to the entries), then anonymous users must be able to view it. If you really want to secure the blog contents, you can do that, but only people logged into your site with the proper role will be able to view the feed and entries.

To be specific, in the page settings and the blog module settings, under "Security," "Roles that can view this content", the "All Users" checkbox should be checked.

Jamie

4/25/2011 2:46:31 PM
Gravatar
Total Posts 6

Re: Blog RSS problem?

Yes Sir , I understand this point thank you at all , My Problem is I can't add it in Google Feedburner , every time I add this link :

http://www.daliakhairy.com/blog40rss.aspx

 

The Feedburner dispaly this message :

 

The URL does not appear to reference a valid XML file.

The feed URL you entered is:

http://www.daliakhairy.com/blog40rss.aspx

 

you can try from this link

http://www.daliakhairy.com/Default.aspx?pageid=34

 

4/25/2011 4:04:29 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Blog RSS problem?

Okay, I can see the blog now, but the RSS feed link shows me a server error about a null value, and that's why it's not working on Feedburner. Now that the blog and feed are visible, Joe may be able to help you to troubleshoot that error.

Jamie

4/25/2011 5:14:01 PM
Gravatar
Total Posts 6

Re: Blog RSS problem?

Thank you Jamie , But really I need to solve this problem asap .

4/26/2011 6:45:09 AM
Gravatar
Total Posts 18439

Re: Blog RSS problem?

The error:

[ArgumentNullException: Value cannot be null.
Parameter name: value]
   Argotic.Common.Guard.ArgumentNotNullOrEmptyString(String value, String name) +65
   Argotic.Syndication.RssChannel.set_Title(String value) +22

indicates it is trying to use null or empty string for the channel and that is not allowed. This comes from the Module Title, ie the name of the Blog instance. You should make sure it is not an empty string.

Hope that helps,

Joe

4/27/2011 1:19:56 PM
Gravatar
Total Posts 6

Re: Blog RSS problem?

yes , thank you joe  , it's working now .

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