How to add rss icon to the address bar

by Neon Quach 3. February 2010 17:48

Your website has rss channel which used to publish frequently works, articles or news, if you want to give the alternate step to navigate to rss chanel section, or show to the user whether your website has rss channel or not, just add it in the address bar when user visit your site, by putting bellow makup code link bellow:

    <link rel="alternate" type="application/rss+xml" title="Your titile goes here"
        href="<%=Page.ResolveUrl("~/RSS.aspx")%>" />

I put this code in the Master page in order that user can see rss icon in all page.

Hope this help,

Tags:


Categories: asp.net

Powered by BlogEngine.NET 1.6.0.0 - Eco Theme by n3o Web Designers