Adding FeedBurner FeedFlare to DasBlog
I've been loving FeedBurner for a while now. They serve my feed, keep awesome stats and provide piles of reports.
Aside: One of the nice things about DasBlog's built-in integration with FeedBurner is that everyone who is currently subscribed to your existing DasBlog RSS/Atom Feeds will be 301 Permanently Redirected to your new FeedBurner feed. HTTP 301s are Permanent while 302's are temporary. Aggregrators worth their salt know to update their local records when a feed issues a 301. DasBlog will automatically get everyone over to your new feed.
Opinion: It's REALLY poor form to visit a blog and see a post that says "This blog has moved" when there are protocols to express this fact. It's even worse to see posts written in prose with pleadings that folks "please update your aggregator to point to this other feed." Use 301s when they make sense.
FeedBurner has a feature called FeedFlare that lets you add interactivity to each post.
If you're on DasBlog 1.9 and you're using FeedBurner you can add this macro to your itemtemplate.blogtemplate file:
<script src="http://feeds.feedburner.com/~s/YOURFEEDBURNERNAME?i=<%PermalinkUrlRaw%>" type="text/javascript"></script>
This will inject a little javascript into each post with little features that you can control from your FeedBurner configuration.
UPDATE: In the daily builds )(after today) of DasBlog, the <%FeedFlare()%> macro now corresponds correctly to the updated FeedBurner URLs. Thanks to Tomas!
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
public virtual Control FeedBurnerFlareSingle(string FeedburnerUsername)
{
if (!requestPage.IsAggregatedView)
{
string contents = "";
if (FeedburnerUsername != null)
{
contents += "<script src=\"http://feeds.feedburner.com/~s/";
contents += FeedburnerUsername;
contents += "?i=";
contents += Utils.GetPermaLinkUrl(this.currentItem);
contents += "\" type=\"text/javascript\" charset=\"utf-8\"></script>";
}
else
{
contents = "-- no feedburner user specified --";
}
return new LiteralControl(contents);
}
else
{
return new LiteralControl("");
}
}
i added the macro but didnt notice to any change,maybe i forgot somthing?
I started with Feedburner a couple of weeks ago after seeing something you wrote actually and I've also been very impressed. Not to mention that it takes a load off the server for serving maybe the busiest part of the site.
We actually *will* do exactly that if you choose to leave FeedBurner. Details are here. Glad you're giving us a chance, let us know what other questions you have!
Regards,
Rick
VP, Publisher Services
FeedBurner
I was wondering how I can enable paging in Dasblog like you have on this blog, is it a custom macro, I could not find anything in the built in macros.
Thanks
I also was able to enable the file browser for images and flash in the FCKEditor Adapter to work with Dasblog by changing some configuration settings, here it is in case people need it:
In Web config, add:
<appSettings>
<add key="FCKeditor:UserFilesPath" value="/Content/" />
</appSettings>
to set the default user path of FCKEditor.net to /Content
In FCKEditor/fckconfig.js change the foolowing settings so that FCKEditor uses /Content/Binary to browse and save images and flash files:
_FileBrowserLanguage = 'aspx' ;
FCKConfig.ImageBrowser = true ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Binary&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension;
FCKConfig.FlashBrowser = true ;
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Binary&Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;
In /SiteConfig/FCKeditorConfig.js change the foolowing setting to add the add image and add flash buttons:
FCKConfig.ToolbarSets["Default"] = [
['Source','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak','UniversalKey'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['FitWindow','-','About']
] ;
Comments are closed.