Nibble

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:

blogpackage

Download package and sourcode on codeplex (also submitted this to the umbraco repo, so expect to see it there soon).

49 Comments so far

  1. richard on February 3rd, 2009

    Nice, love the music in your screencast also..

    Thanks for sharing

  2. Paul on February 3rd, 2009

    Tim -
    Nice work! Can’t wait to upgrade my personal site/blog with it.
    -Paul

  3. Warren Buckley on February 4th, 2009

    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

  4. Dennis on February 12th, 2009

    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.

  5. Dennis on February 12th, 2009

    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

  6. Tim Geyssens on February 12th, 2009

    Hey Dennis,

    Did you install this on a umbraco v4 ?

  7. Tim Geyssens on February 12th, 2009

    Problems Dennis had caused by the xsltextensions file not being updated during install.

  8. Greg on February 17th, 2009

    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

  9. Umbraco konsult on February 21st, 2009

    Awesome stuff!

  10. Paul on February 23rd, 2009

    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

  11. Rolf Anders Storset on March 3rd, 2009

    Hi, Nice package. But how does the RSS feed function work? How do I get my blog posts into my RSS feed?

  12. Tim Geyssens on March 3rd, 2009

    @Rolf, the rss feed is powered by an xslt macro (on an alt template).

    Once you publish a post it should show up.

  13. Tarek Faham on March 4th, 2009

    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.

  14. Roland on March 4th, 2009

    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 :)

  15. Tarek Faham on March 4th, 2009

    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.

  16. Tarek Faham on March 4th, 2009

    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.

  17. Evan on March 10th, 2009

    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

  18. Tim Geyssens on March 10th, 2009

    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).

  19. Tim Geyssens on March 11th, 2009

    @Tarek , I didn’t test on ie6. Will see if I can fix it.

  20. Anders Tollestrup on March 24th, 2009

    @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

  21. Dave on March 25th, 2009

    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?

  22. Hans on April 2nd, 2009

    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.

  23. Robert Vintervind on May 18th, 2009

    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

  24. Robert Vintervind on May 18th, 2009

    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’);

  25. Chris on May 31st, 2009

    @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

  26. Tim Geyssens on June 1st, 2009

    @ Chris, once there are more then 10 posts you’ll be possible to see the ‘previous’

  27. Chris van Dam on June 1st, 2009

    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

  28. Chris van Dam on June 4th, 2009

    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

  29. Tim Geyssens on June 5th, 2009

    @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 ?

  30. Chris van Dam on June 6th, 2009

    Thanks Tim, that’s a great idea. I’m going to give it a try immediately.

  31. Zachary Kampel on June 26th, 2009

    Hi Tim,

    Excellent package! Is there a way to not publish submitted comments immediately? Can we update frmBlogComment.ascx.cs ?

    Cheers,

    Zak

  32. Shruti on January 6th, 2010

    Do you have sample to consuming RSS using XSLT ot macro in Umbraco?

  33. tri on April 6th, 2010

    can’t we use own design for the blog page

  34. Paul on August 6th, 2010

    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

  35. Andy on November 12th, 2010

    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

  36. Thang on April 13th, 2011

    Hi,
    The installer do not work with umbraco 4.7 :( Help please!

  37. Lloyd Phillips on June 10th, 2011

    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

  38. aspinnink on August 1st, 2011

    bb.txt open error

  39. 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!

  40. The Scar Solution Review on August 13th, 2012

    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!

  41. cigarettes for sale on September 28th, 2012

    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!

  42. Cerca Casa.it on November 25th, 2012

    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!

  43. cbw-wijayakusuma.wall.fm on November 28th, 2012

    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!

  44. points fifa 14 gratuit on April 26th, 2014

    It’s in reality a great and useful piece of info.
    I am satisfied that you simply shared this useful information with us.
    Please stay us up to date like this. Thanks for sharing.

    Here is my blog post: points fifa 14 gratuit

  45. crous téléphone on July 10th, 2014

    Et une troisième 3e groupe de scie personnes en annonces
    pour Profession Builder, E * Trade et de Esprit institution financière
    que étaient censé être humoristique. Ce logo sp.

    volue g.

    my web site :: crous téléphone

  46. test on November 18th, 2014

    I am regular visitor, how are you everybody? This post posted
    at this site is in fact good.

  47. hidemyass vpn on December 2nd, 2014

    Article Source: Broadband is the Broadband service of BSNL”. 2) After it appears, right click on it and select “Run As Administrator”. Refer to your device manufacturer or network administrator for more information.

  48. www.youtube.com on December 11th, 2014

    Hello to all, it’s really a fastidious for me to pay a quick visit this site, it includes important Information.

  49. Code Triche Final Fantasy XIII 2 on December 19th, 2014

    Very good article. I will bbe going through many of these issues as well..

Leave a Reply