Friday, December 11, 2009 by Per Ploug Hansen

So far we've just added new functionality to the blog package, without actually given any thought on how the final package should be presented and how the blog will look and function to the end users.

So today I'll go through these small nitpicking tasks. Add presentation of posts and comments to the package, look into the html and css, and get rid of (most of) the loose ends we currently have. This also means that the html will be final so developers can start modifying the css for the upcoming skinning functionality.

So the hours today have been spend on alot of the details which would normally be focused on when releasing, but as the final release is december 24, and all of us has some sort of family to go home to on that day, we thought it would be better to do today :)

Xslt for posts, comments, tags

First of all, a major thanks to Mister Morten Bock who has donated his xslt snippets for a tag cloud and weighted related posts. These have been added to the package as normal xslt extensions. The related pages xslt contains a single custom method which calculates the weight of the relation between posts by counting the number of categories in common. We are doing this in c# as xslt is not in any way capable of doing this, luckily, extending xslt is so easy to do.

Blog pages

A blog textpage has been added to the package so additional content can be created without it being a blog post.  We will use this to store about pages, search results, tag clouds and everything else that is not a blog post.

Templates refactor

Things have been moved around here and there to take advantage of masterpages multiple placeholders functionality. So each individual part of the master template comes with default html that can be override on any of the child templates. Support for changing background images on each individual blogs have been added

Xslt tweaks

Basic cleaning has been done in a handfull of files.

More polishing to come

This is the first push on the details front, as we get nearer the final release, we will continue to put small details into the package.

And yes I know this is not the most revolutionary of posts ;) So I promise we will do some really great things next week to make up for it.

1 comment(s) for “Blog 4 umbraco 2.011 – Html, xslt and the loose ends”

  1. Gravatar Imagejon ward Says:

    Has the getAllTags method been fixed so that it doesn't break XSLT everytime you add an "&" to your tags?

Leave comment:


Brilliant umbraco hosting provided by FAB-IT