This week, a quick SharePoint 101 session—changing the SharePoint RSS feed to use your favorite alternate. I just set up this blog to use FeedBurner—and wanted to make the RSS button in the browser point people to my FeedBurner URL:
To do this was quite simple! There are two easy steps. First, add the feed links to the <HEAD> tag of your Master Page:
<link rel="alternate" type="application/rss+xml" title="Zach Rosenfield's SharePoint Blog (RSS)" href="http://feeds.feedburner.com/ZachRosenfield" />
<link rel="alternate" type="application/atom+xml" title="Zach Rosenfield's SharePoint Blog (ATOM)" href="http://feeds.feedburner.com/ZachRosenfield" />
Each entry adds another option to the drop down (the first one defined will be the default option).
Next, we need to remove the default RSS feed link generated by SharePoint—it's a tag called <SharePoint:RssLink runat="server"/>. You'll find it in the 'default.aspx' page (and any other blog post viewing page) inside the "PlaceHolderAdditionalPageHead" content place holder. Remove the tag—but NOT the content placeholder! Repeat this to any page that views a blog post; I removed it from Default.aspx as well as the AllPosts.aspx and Posts.aspx pages under Lists > Posts.
*Side Note: be aware that by editing these pages you are customizing it (also called 'unghosting') to be unique—not relying on the underlying site definition (this is important as it will affect your page during upgrade).