MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Enable RSS Link on News Reader ? (Closed) (Mono Support )

Viewed 27608 time(s), 9 post(s) 8/18/2011 3:02:59 PMby shawndg
shawndg

shawndg

8/18/2011 3:02:59 PM
Hello,

Im trying to enable a rss feed on the news section of our site but so far have been unable to do so.

I set the rss to enabled on the news..

I read this snippet from another forum post by Denis.

RSS part does not exists as such - RSS architecture is provider based, and any of your custom parts can implement the IRssWebPart interface to become an RSS provider. By default, blog list module has this feature turned on, so there is nothing special you have to do. As soon as you place the blog list part on the page the RSS feed should become active (you will see the RSS icon active in the browser's toolbar), as RSS feed link is injected into the head section of the page. You can use its URL to put a custom RSS link anywhere on the page.

Once I enabled the rss reader.. I dont see a feed anywhere..
I tried IE and firefox.
This content has not been rated yet. 
1871 Reputation 252 Total posts
denis

denis

8/18/2011 3:14:18 PM
The new versions of Web browsers are using the minimalistic approach, and RSS button is now hidden in most of them. When RSS feed is active in any of the MonoX parts that are displayed on the page, MonoX creates a link of the format

<link rel='alternate' type='application/rss+xml' title='Your feed title' href='Your feed URL'>

You can actually see it in action on this page. To see it, you have to enable the RSS feed button - for example, IE 9 requires you to right click on the tools icon next to the address bar (or somewhere close to it), and check to Command bar option. Command bar will display the RSS button, and you will be able to click on it on MonoX pages with parts that have RSS feature enabled.
You can also link directly to the autogenerated RSS URL from anywhere on your page.
This content has not been rated yet. 
7207 Reputation 956 Total posts
shawndg

shawndg

8/18/2011 3:42:34 PM
I see the feed button but it does not light up when I navigate to
http://www.thepittsburghscene.com/News.aspx
We have a rss enabled news feed part there.

When i navigate to..
http://www.cnn.com/services/rss/

its lights up
This content has not been rated yet. 
1871 Reputation 252 Total posts
khorvat

khorvat

8/18/2011 8:10:57 PM
Hi,

  just to be sure that you have all the RSS features enabled can you please check the following:

1. web.config appSetting called MonoXRssIsTurnedOn should be set to true
2. That you have set the default MonoX RSS provider - e.g.
<RssStorage defaultProvider="RequestRssStorageProvider">
3. Did you actually set the RssEnabled propery of the MonoX news module

Please check the above and get back to us.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
shawndg

shawndg

8/20/2011 5:07:12 AM
I have..

<RssStorage defaultProvider="RequestRssStorageProvider">
<providers>
<add name="DiskRssStorageProvider" type="MonoSoftware.Web.RssEngine.Providers.DiskRssStorageProvider, MonoX" workingFolder="/MonoX/ApplicationData/RssStorage" sqlConnectionString="" timeout="30" />
<add name="CacheRssStorageProvider" type="MonoSoftware.Web.RssEngine.Providers.CacheRssStorageProvider, MonoX" workingFolder="" sqlConnectionString="" timeout="30" />
</providers>
</RssStorage>


<add key="MonoXRssIsTurnedOn" value="false" /> when i set it to true.. my news module errors..

<add key="MonoXRssAllWebPartsAsOneRssResource" value="False" /> dont want that..
This content has not been rated yet. 
1871 Reputation 252 Total posts
shawndg

shawndg

8/20/2011 5:14:28 AM
Ok.. I tried a work around..

I disabled the main news rss.. then enabled the rss and the main news then worked but no rss.

now i created a testpage.aspx and dragged a new news part on there.. configured it worked ok.
then checked rss enabled.. tried to apply and..

System.NullReferenceException: Object reference not set to an instance of an object.

at MonoSoftware.Web.StringExtension.Append[T](String url, UrlParam`1 urlParam, T value)

at MonoSoftware.MonoX.RssEngine.RssEngine.#lj()

at MonoSoftware.MonoX.RssEngine.RssEngine.GenerateRss()

at MonoSoftware.MonoX.BasePage.#Gb()

at MonoSoftware.MonoX.BasePage.Render(HtmlTextWriter writer)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
This content has not been rated yet. 
1871 Reputation 252 Total posts
khorvat

khorvat

8/22/2011 9:05:54 AM
Hi,

  I have found the issues that is causing the error you get, please set the News Web part's title so RSS engine can assign the title to a channel. We have fixed this issue and it will be included in the next release.

Please try this workaround and get back to us.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
anil

anil

9/26/2011 7:43:40 AM
hi.
plzz help me..how to enable rss feeds in monox blog.
where i have to set the RssEnabled propery of the MonoX news module..i couldn't able to find this monox news module plzz tell me..
This content has not been rated yet. 
40 Reputation 5 Total posts
denis

denis

9/26/2011 10:44:26 AM
RSS feed is enabled by default in MonoX blog part. RssEnabled property can be set by clicking on the Properties button of your part and setting the value in the admin toolbar.
Please open a new topic for any additional questions you may have, as recycling old topics is not a good practice.
This content has not been rated yet. 
7207 Reputation 956 Total posts