Found and fixed bugs in the Blog4Umbraco package.

Today I was looking into the hAtommicroformat, since I had some time to spare. To my surprise I found that the microformat is implemented in the Blog4Umbraco package. However, I also found that some of it was hard coded. Since this blog is built using this very package, I decided to fix those bugs, and submit them to Codeplex.

The bug can be found in the XSLT file BlogListPosts.xslt. If you look at the markup rendered from the package, the title attribute actually contains "umbraco.library:ShortDate(...", also the microformat implementation renders tag-boats and tag-lake, along with a malformatted date and some hardcoded date values.

I submitted this fix to CodePlex, so if you want the fixed xslt, you can download it form there.

I have to figure out a good way to submit code samples to this blog, so far code readability is low as hell.

blog comments powered by Disqus