Add Dynamic link rel=alternate RSS directive to ASP.NET Page
"There are times when the best deals are those that aren't done" -- David Garrity (re:MSFT-->YHOO) I have some pages on my "fun" site, ittyurl.net , that generate and display blog search results and offer a custom RSS feed of same. The url to the page that generates the RSS feed must be dynamic, with a search term on the querystring. But how can you "turn on" the Feed icon in Internet Explorer so it will show that there is a feed available for the custom results page, and which will correctly point to the generated RSS page? It's pretty simple: First, let's put the <link .. tag into the HEAD of the ASP.NET ASPX page, and mark it runat="server": <head runat="server"> <title>Untitled Page</title> <link id="rssLink" rel="Alternate" type="application/rss+xml" title="RSS" href="" runat="server" /> </head> Next, after we...