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.

How to create link for RSS Feed icon  (Mono Support )

7642 put(a) pogledan, 2 odgovor(a) 18.1.2012. 0:54:07Kreirao(la) grant.stone007
grant-stone007

grant.stone007

18.1.2012. 0:54:07
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?


Ovaj sadržaj još nije ocijenjen. 
647 Reputacija 69 Ukupno objava
denis

denis

18.1.2012. 10:39:05
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.
Ocjena 5,00, 1 glas(ova). 
7207 Reputacija 956 Ukupno objava