I’ve created a few custom dasBlog macros for this blog. For now I’m going to use this page as the home for these macros.
You can use these links to download the macros.
To install the macros you need to put the TTC-Macros.dll file in the web site bin folder. Then you need to add the following to the web.config <configuration> section.
<newtelligence.DasBlog.Macros>
<add macro="ttcMacros" type="TTC_Macros.TTCMacros,TTC-Macros" />
</newtelligence.DasBlog.Macros>
These macros were built against dasBlog version 2.3.9074.18820.
Please read the remainder of this post for a description of the macros.
dasBlog macro to set page title
By default dasBlog shows the page title as the blog title-page title. The problem with this page title is the link that displays in the search engine results page is not what I want.
The next example shows how the page title is truncated in the search results.
The next example shows the page title fits in the Google search results. The blog title is not visible, but is not really important in the search results.
It may have SEO impact as well, although I’m not sure if the page title starting with the blog title matters so much.
The usage for the page title macro in a dasBlog .blogtemplate file is as follows:
dasBlog macro to add NOINDEX meta tag
I like to keep the pages in the search engine nice and clean. Given a blog has a lot of duplicate pages, I wanted to keep a number of the pages out of the index. So I created a macro to add a NOINDEX meta tag to the page for certain dasBlog pages.
The usage for the macro is shown below.
The NOINDEX meta tag will be added for all category view, paging, month, date, default page (not /), login, and search view pages. Basically only the blog post pages, the root, and the archives page will be in the search engine index.
dasBlog macro to set comment link
This macro that can be used in place of the default comment view hyperlink. By default the hyperlink is something like CommentView,guid,1920be4a-2789-4d12-b667-edf2e7f4ff77.aspx#commentstart. The search engines pick this up and will put it in the index. I prefer is just use the regular page title.
The usage for the macro is shown below.

So use the TTCCommentLink macro in place of the CommentLink macro.
If you have any questions please feel free to ask and I’ll try to help.