Moving a .TEXT blog rss feed to FeedBurner
There are many benefits of using FeedBurner but the main reason I have moved my RSS feeds to FeedBurner is to free up some bandwidth. Please give me a shout if you have any problems with the new feeds.
I had a moment of panic when I did not find any RSS.aspx or atom.aspx files in my blog directory before I remembered that .TEXT uses HttpHandlers. Three steps later and my .TEXT RSS feed was moved to FeedBurner:
- Create two new files: rss.aspx and atom.aspx. Both of which should have this content:
<%@ Language="C#" %>
<%Response.Redirect ("http://feeds.feedburner.com/YOUR-ID-HERE");%> - Modify Web.Config
Change:<HttpHandler pattern = "^(?:\/(\w|\s|\.)+\/rss\.aspx)$" type = "Dottext.Common.Syndication.RssHandler, Dottext.Common" handlerType = "Direct" />
<HttpHandler pattern = "^(?:\/(\w|\s|\.)+\/atom\.aspx)$" type = "Dottext.Common.Syndication.AtomHandler, Dottext.Common" handlerType = "Direct" />
To:<HttpHandler pattern = "^(?:\/(\w|\s|\.)+\/rssFeed\.aspx)$" type = "Dottext.Common.Syndication.RssHandler, Dottext.Common" handlerType = "Direct" />
<HttpHandler pattern = "^(?:\/(\w|\s|\.)+\/atomFeed\.aspx)$" type = "Dottext.Common.Syndication.AtomHandler, Dottext.Common" handlerType = "Direct" /> - Modify your FeedBurner account, or create a new one, that points to yoursite/blog/rssFeed.aspx instead of yoursite/blog/rss.aspx
I also tryed (and still using for my e-mail signature) FeedBurner, but I switched back to the standard .Text feed on the blog, when I found out that all the images url where not reported correctly on the FB feed.
ReplyDeleteI didn't have the time to investigate and solve the problem in .Text sources, but may be your are you willing to do that for you and us all too :-)
Ciao, Marco.