dasBlog Extra Macros

DasBlog Extra Macros


dasBlog 1.8 has custom macros. This essentially means that anyone can create macros for dasBlog and distribute it separately. This is a pretty nice feature. I created a set of custom macros to add links to blog posts like the one above for del.icio.us. Clicking on the link will post this blog entry to the social bookmarking site automatically.


You can download the macros here. To use the macros you have to uncomment/add the following in dasBlog’s web.config :



<section name=”newtelligence.DasBlog.Macros” type=”newtelligence.DasBlog.Web.Core.MacroSectionHandler, newtelligence.DasBlog.Web.Core” />


The add the following snippet to the same file:



    <newtelligence.DasBlog.Macros>
         <add macro=”extra” type=”ExtraMacros.Extra, ExtraMacros”/>
    </newtelligence.DasBlog.Macros>


To use the macro add the following snippet to your itemTemplate.blogtemplate file:



<%Delicious(“del.icio.us”)|extra%>


The other macros you can use are:



<%TechnoratiLinkingBlogs(“Linking Blogs”)|extra%>
<%BloglinesCitations(“Citations”)|extra%>


Of course you can change the text passed to the macro. That will become the link text. Let me know how these work. I will be adding more macros to this. Requests are accepted as time permits. :-)