Mono Support RSS ICON with dropdown list of rss links 

Viewed 18368 time(s), 2 post(s), 3/10/2014 11:17:13 AM - by panos.pag
3/10/2014 11:17:13 AM
390 Reputation 35 Total posts

Hello, We would like to make easy for the user to access the automaticaly created rss feeds in the header by clicking on an rss dropdown menu and then selected the url (e.g. http://monox.mono-software.com/blog/posts/MonoX/?MonoXRssFeed=MonoX )

Is there a simple developed way within monoX or do I have to add a, say Jquery, function?

Thanks in advance,
Panos

1
3/11/2014 8:01:05 AM
15993 Reputation 2214 Total posts

Hi,

you can write few lines of code and have RSS icon for the feed.

- check if current WebPart supports RSS by doing something similar to this
- check if RSS is enabled
- add your link or image button to markup

//OnPreRender
if (typeof(IRssWebPart).IsAssignableFrom(this.GetType()) && ((IRssWebPart)this).RssEnabled)
{
  RssChannel channel = ((IRssWebPart)this).GetRssChannel();
  yourImageButtonOrSomething.Url = channel.Link;
}
Let us know if you need more information.

Regards

2
This is a demo site for MonoX. Please visit Mono Software for more info.