
I had previously posted about dasBlog Extra macros I developed. I just added a few more macros to it. So here is a new version (I will call is 1.1). You can download it here. Here is the complete set of macros.
| Macro | Use | Use in |
| <BloglinesCitations(“Citations”)|extra%> | Creates a link to bloglines citations for the current post | itemTemplate.blogtemplate |
| <Delicious(“del.icio.us”)|extra%> | Creates a link to save the post to del.icio.us | itemTemplate.blogtemplate |
| <TechnoratiLinkingBlogs(“Linking Blogs”)|extra%> | Creates a link to the linking blogs using Technorati | itemTemplate.blogtemplate |
| <Digg(“Digg This”)|extra%> | NEW Creates a link to submit post to Digg | itemTemplate.blogtemplate |
| <CommentCountLink()|extra%> | NEW Creates a link to the comments page with just the number of comments as link text. I have seen some wordpress themes use such a link. | itemTemplate.blogtemplate |
| <FeedBurnerCirculation()|extra%> | NEW This shows the number of subscribers as tracked by FeedBurner. This is shown only if the new dasBlog feature to redirect feeds to FeedBurner is used. | Any template |
| <ItemTitleText()|extra%> | NEW This gives the items title in plain text. | itemTemplate.blogtemplate |
| <TimeSince()|extra%> | NEW This gives the time since the item was published eg. Published 1 week, 3 days ago. | itemTemplate.blogtemplate |
| <WordCount()|extra%> | NEW This gives in plain text the number of words in the current post. | itemTemplate.blogtemplate |
To enable custom 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>
Then add the macros as it appears above to your theme’s template file.
Related posts:
#1 by Mike Erbes on January 9, 2006 - 2:17 AM
Hi Vasanth,
Do you know if there is a way to check the comments and entry the blog users enter for bad words before comments or blogs are posted?
Thanks
Mike Erbes
#2 by Mike Erbes on January 16, 2006 - 3:51 PM
Nevermind my previous post, I was able to implement this.
Thanks
Mike
#3 by Vasanth on January 16, 2006 - 5:39 PM
Cool
#4 by Ivan on January 19, 2006 - 11:13 AM
Thx for sharing this, Vasanth.
I found this Macros and the software you have created on the "Software section" pretty interesting.
I have just installed dasblog 1.8 so I going to play with it.
Best regards,
Iván.
#5 by Vasanth on January 19, 2006 - 11:23 AM
Glad you find it interesting. Have fun.