New Package - Blog package for umbraco 4
While working on the upcoming site for umlaut (umbraco solution provider run by fellow umbraco addict / MVP Dirk De Grave and me), I needed to add a blog section to the site.
And since umbraco makes it super easy to package up your work. I thought I would spend some time into resurrection the umbraco blog package.
So here you go, a blog package for umbraco 4.
Current Features:
- Posts with paging and filter on category
- Comments (custom usercontrol)
- Datefolder (using the eventmodel)
- Categories (using tag datatype)
- Archive (collapsable, only showing lastest months)
- Latest comments
- Blogroll (using related links)
- Rss Feed
- Gravatar
A small demo screencast:
Download package and sourcode on codeplex (also submitted this to the umbraco repo, so expect to see it there soon).


Nice, love the music in your screencast also..
Thanks for sharing
Tim -
Nice work! Can’t wait to upgrade my personal site/blog with it.
-Paul
Hiya Tim,
I’m ill for one day and come back to see this, great work to get this revivied.
I have given it a real quick test run using Darren’s temporary Umbraco hosting service, which is ideal to test out packages.
I would recommend you use some URL rewritting instead of filterBy querystrings.
eg /category/tagName
I can’t remember if there is a package action to add rules to the urlRewriting.config file, if not im sure you’r clever enough to write your own custom package action to do it.
Apart from that its all rocking
Warren
When I try to save the xsltfiles without modyfing them i get the following errors;
BlogCategories.xslt
————————-
System.Xml.Xsl.XslTransformException: Cannot find the script or external object that implements prefix ‘urn:tagsLib’.
BlogRssFeedLink.xslt
———————-
System.OverflowException: Value was either too large or too small for an Int32.
Looks my first post got lost somewhere, which makes the previous really cryptic.
My problem is that the blog has xslt errors on the pages, so a lot of stuff is not in place.
Error parsing XSLT file: \xslt\BlogPostListComments.xslt
Error parsing XSLT file: \xslt\BlogCategories.xslt
Error parsing XSLT file: \xslt\BlogListPosts.xslt
//Dennis
Hey Dennis,
Did you install this on a umbraco v4 ?
Problems Dennis had caused by the xsltextensions file not being updated during install.
Nice one Tim - thanks for this.
What’s the best way to upgrade a blog from umbraco v3.0.5 to the latest (website is upgraded, but blog isn’t).
I’ve tried just installing the blog package, but it errors on
System.ArgumentException: Item has already been added. Key in dictionary: ‘blog’ Key being added: ‘blog’
I have installed the blog package on a test umbraco install, so can copy files from there - are there any database changes? I assume there are as the doc types seem different - do you have upgrade scripts per chance?
cheers
greg
Awesome stuff!
Hey Tim,
Nice work on the blog package.
I’ve created a custom usercontrol (which is setup as a data type) which lets you create blog posts at a particular data. you might be interested in including it in the blog package.
http://www.snipersystems.co.nz/2009/2/20/umbraco-v4-create-blog-post-package.aspx
Hi, Nice package. But how does the RSS feed function work? How do I get my blog posts into my RSS feed?
@Rolf, the rss feed is powered by an xslt macro (on an alt template).
Once you publish a post it should show up.
Hi tim, I have created a post in Umbraco Forum asking for help to develop a simple prototype for a “Know Me” Corporate Knowledge Sharing Website.
For more details, check this link: http://moourl.com/qakra.
Do you think that I can start with Umbraco Blog Package, and add other packages with customization ?
Any recommendation ?
Thank you in advance.
Tarek.
thnx Tim Geyssens on February 12th, 2009
“Problems Dennis had caused by the xsltextensions file not being updated during install.”
I have been searching for ages, allmost gave up….. this did the trick
After adding a one or more new posts using Umbraco Blog Package, and only under IE 6.x, the Interface will look like this:
Which looks like it is slightly broken.
Under IE 7, it looks nice.
Can any one help ?
Tarek.
The link to the image in the last post was deleted by mistake.
Here is how it looks under IE 6:
http://lh6.ggpht.com/_Qhe6s0HOP8U/Sa8GBoesCKI/AAAAAAAAAhw/Vio3a0C2nfk/s576/UmbracoBlog01.JPG
Tarek.
I am using the blog for my company blog and I was just wondering, how do I set up the RSS? I want to have people be able to pull my rss and follow my blog. I know it is built in I just can not seem to find it. Any help would be much appreciated.
Evan
Hey Evan,
There is an xslt with macro that is placed on a template called rss.
So you can view the rss by going to the /blog/rss.aspx page(blog is the name of the blog page).
@Tarek , I didn’t test on ie6. Will see if I can fix it.
@Tarak, Who cares about IE6 ? My Google Analytics stats shows only 9% is still using that old browser here in DK and IE6 is so time-consuming in the design adjusting phase. I like what RocketTheme.com has done. They implemented a JavaScript warning in their web themes if a IE6 user is browsing the site.
just my 5 øre (danish cents
/Anders
Is there any way to make the blog url’s search engine friendly? I would love to create subdirectories for my blog urls e.g. http://www.worldsbestbeer.com/belgium/hoegaarden.aspx
Also can you turn off comments if you dont want them on your blog?
Hi Tim,
I noticed a small bug. When I create a new blogpost and add a category to this post, under my categories I see the specified category and the amount of posts in this category. When I delete ALL the posts in this category I still see this category in my categories list and there is still a number of non-existing posts in this category. This is not the kind of behaviour I expected.
Hello, on a project I used this blog I got a BIG bug or something can anyone help me with this this?! It´s only on IE7 I got this and it´s when you collapse the months and then exand it again the posts dissapear, it pops up for some milliseconds and then dissapear (like invisable) as it take it´s space as it should in the tree????
Anyone noticed this, and Nibble can you help me out what this is?
Best regards Robert
Hello again, it´s a jQuery bug in IE7 and if you change this code in umlaut.js it works and looks better in my point of view
Replace this:
$(’#’ monthClicked ‘ ul’).slideUp(’fast’);
with
$(’#’ monthClicked ‘ ul’).hide(’fast’);
Replace this:
$(’#’ monthClicked ‘ ul’).slideDown(’fast’);
with
$(’#’ monthClicked ‘ ul’).show(’fast’);
@Hans,
I noticed the same behaviour. You can fix it by emptying your trash can. Apparantly, the references to the tags are kept until you really, REALLY delete your posts…
Excellent package though, Tim! One question from my side:
You talk about paging, but I haven’t been able to find that functionality. Can you shed some light on this? Thanks!
Chris van Dam
@ Chris, once there are more then 10 posts you’ll be possible to see the ‘previous’
OK, I checked the xslt and it’s official, I’m stupid or slow….. Thanks!
One other question, I see you have an excellent functionality showing the posts by month (?m=200905 etc.). I can’t find that back in the xslt of the package. Would you mind sharing your knowledge?
Regards,
Chris
Tim, I know you are a busy guy, but is there any chance you could enlighten us with the solution to displaying only blog posts of a certain months (like you do on this site)?
(Or am I missing something really trivial…)
greets,
chris
@Chris an easy way would be to apply a template to the datefolders. Where you would only show the child blog posts. Does that make sense ?
Thanks Tim, that’s a great idea. I’m going to give it a try immediately.
Hi Tim,
Excellent package! Is there a way to not publish submitted comments immediately? Can we update frmBlogComment.ascx.cs ?
Cheers,
Zak
Do you have sample to consuming RSS using XSLT ot macro in Umbraco?
can’t we use own design for the blog page
WSOP 2010 PACKAGE
Hi,
I set up the blog with relatively few problems, I added a post and all was fine. However, the client added a post which refused to show in the blog although it was published in admin, so I deleted it and attempted to reset it. Still wouldn’t show. Deleted the original post and that post still showed on the site! I deleted all the date folders, but the original post still shows. It’s completely stuck, I can’t add, can’t delete. I haven’t changed much of the underlying xslt or template files, just removing text and updating links in various places. Any suggestions?
Cheers
Paul
Can you post stuff to a date prior to today? I’d like to back fill my blog with articles etc and can only seem to get them published from today onwards!
Cheers
AJ
Hi,
Help please!
The installer do not work with umbraco 4.7
Having the same issue as Thang. We’ve got the original blog on our site and wanted to upgrade since we’ve just upgraded to 4.6 but the installer is failing. Posted on stackoverflow with the error message:
http://stackoverflow.com/questions/6221768/error-when-upgrading-umbraco-4-blog-package
bb.txt open error
Hі there еxсellent blog! Doeѕ running а
blog similar to thіs tаkе a lоt of work?
I havе absolutеly no undегstanding оf computer programming but
I hаԁ been hoрing to stаrt my own blog in the neаr futurе.
Anуhow, if уou havе any suggestionѕ or tеchniques for new blоg owneгs please
share. I know this is off subϳеct however I simρly wаnted to
ask. Тhаnks a lot!
Hey there! This is my 1st comment here so I just wanted to give a quick shout out and
tell you I genuinely enjoy reading your posts.
Can you suggest any other blogs/websites/forums that go over the same subjects?
Many thanks!
You actually make it appear so easy together with your presentation but I in finding
this topic to be actually something which I feel I’d by no means understand. It sort of feels too complex and extremely huge for me. I’m having a look forward in your subsequent submit,
I’ll attempt to get the grasp of it!
This іnformation has displayed уou hοw to get excellеnt deals on journey.
With thіѕ particulаr guidanсe, іt will be pοѕsiblе tο view faг more
spots and savе money caѕh сomρaгed
to the οther visіtоrs arοund.
Coulԁ іt be Italy, Auѕtralia, or Јaρan?
Gо take plеasure in precisely what the entire woгld has to
offer!
I like the helpful information you provide in your articles.
I’ll bookmark your blog and check again here frequently. I’m quite certain I’ll learn many new stuff right here! Best of luck for the next!
I am curious to find out what blog system you have been utilizing?
I’m experiencing some minor security issues with my latest blog and I would like to find something more secure. Do you have any recommendations?
Thank you for the good writeup. It in fact was a amusement account it.
Look advanced to far added agreeable from you! By the way,
how could we communicate?
Привет всем форумчанам http://www.nibble.be
Не считайте за спам. Никакой реф. ссылке нет и того подобного.
Текст просто скопировал с сайта.
Акция Удачная регистрация
Благодаря проекту GoldKassa.pro - участники получили и продолжают получать финансовую взаимопомощь, в размере более
2 000 000 рублей.
В честь этого, мы запускаем акцию “Удачная регистрация”. При регистрации и активации аккаунта нового участника, мы возвращаем 300 руб.
Количество активаций по акции ограничено. Спешите воспользоваться “Удачной регистрацией”!
Для возврата 300 руб., после активации, напишите в службу поддержки Ваш логин, с темой сообщения: “Удачная регистрация”.
Usually posts some incredibly fascinating stuff like this. If you are new to this site.