Mono Support How to create link for RSS Feed icon 

Viewed 7671 time(s), 2 post(s), 1/18/2012 12:54:07 AM - by grant.stone007
1/18/2012 12:54:07 AM
647 Reputation 69 Total posts

I see how in MonoX the RSS link is generated in the <head> of RSS enabled webparts/pages. I also see how auto discovery is implemented in the popular browsers. However, I still have many request from my user community to put a old fashioned RSS icon on pages where RSS feed is available. I guess this is because auto discovery is not obvious to users.

I am not an expert on how RSS works so I may way off track here but I looked over the MonoX API. I could not figure out how the actual RSS feed url gets generated. For example on a blog page /blog/posts/my-blog/ it appears that the RSS Feed URL is something like /blog/posts/my-blog/?MonoXRssFeed=my+blog

I assume if I were to place an RSS icon opn page would make href="/blog/posts/my-blog/?MonoXRssFeed=my+blog". Correct?

Is there any way in API to get the RSS Feed URL or some logic convention by which I could compose such a URL?


1
1/18/2012 10:39:05 AM
7207 Reputation 956 Total posts

Your assumption is correct. The logic is actually very simple: the RSS engine looks for the presence of a particular query string parameter - in default case, it is named "MonoXRssFeed" (to minimze the possibility for parameter name collisions). You can just add this parameter to your base URLs and that's it - you have a URL that is ready to be used in your RSS icons.

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