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

35 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. Tom on May 30th, 2010
  35. antonetomee on June 15th, 2010

    flagyl what is it used for

    buy 700mg flagyl er
    buy cheap flagyl
    buy flagyl
    buy flagyl 500
    buy flagyl 500 mg free prescriptions
    buy flagyl 500 mg online
    buy flagyl 500mg
    buy flagyl 500mg online
    buy flagyl cheap
    buy flagyl er no perscreption needed
    buy flagyl er no prescription needed
    buy flagyl mail payment
    buy flagyl medication online
    buy flagyl metronidazol 500mg
    buy flagyl no
    buy flagyl online
    buy flagyl quick
    buy flagyl without prescription
    buy generic flagyl without prescription
    buy metronidazole flagyl
    buy single dose flagyl
    buy single dose flagyl 1 gram
    bv and flagyl
    bv and flagyl and yogurt
    c dif flagyl
    c diff flagyl
    c difficile treatment flagyl
    c-diff flagyl dosage
    can flagyl be crushed
    can flagyl cause body pain
    can flagyl cause cancer in dogs
    can flagyl cause chills
    can flagyl cause delayed ejaculation
    can flagyl cause diarrhea
    can flagyl cause stomach problems
    can flagyl cause tinitus
    can flagyl cause tinnitus
    can flagyl treat a yeast infection
    can flagyl treat chlamydia
    can flagyl treat non ulcerative colitis
    can i take flagyl and benadryl
    can i take flagyl while pregnant
    can you take bactrim with flagyl
    can you take celebrex with flagyl
    can you take flagyl for chlamydia
    can you take flagyl while breastfeeding
    can you take septra with flagyl
    canine blood in urine and flagyl
    canine dosage flagyl
    canine flagyl
    canine flagyl appetite
    canine flagyl blood in urine
    canine flagyl dosage
    canine flagyl dosage appetite
    canine use of flagyl
    cat clavamox flagyl diahrrea
    cat diarrhead flagyl metrondazole duration
    cat feline flagyl metrondazole side affects
    cat flagyl metronidazole diarrhea
    cat flagyl not eating
    cat medication flagyl
    cat predisone and flagyl
    cdiff flagyl
    cheap 250g flagyl
    cheap 250mg flagyl
    cheap 250mg metronidazole flagyl
    cheap flagyl
    cheap flagyl keflex
    cheap flagyl no prescriptions
    cheap flagyl no prescriptions overnight
    cheap flagyl overnight
    cheap flagyl without prescription
    chlamydia antibiotic dosage cipro flagyl
    cipro and flagyl
    cipro and flagyl for fistulas
    cipro flagyl
    cipro flagyl cause of neuropathy
    clindamycin with flagyl
    clostridium difficile flagyl
    cocaine flagyl
    combination flagyl and batril veterinarian medicine
    common uses for flagyl
    comparison nausea chemotherapy flagyl atovaquone
    comparison nausea chemotherapy flagyl mepron
    compatability albumin iv flagyl
    complications from flagyl
    conditions to use flagyl
    contraindications for flagyl
    contraindications for flagyl in dogs
    cost of flagyl
    cost of flagyl 500 mg tablet
    cough and flagyl
    counter flagyl
    counteract flagyl
    course of cipro and flagyl
    coverage for flagyl
    cross allergy between flagyl and terconazole
    cyanobacteria flagyl
    daptomycin and flagyl
    detox flagyl
    diarrhea and flagyl
    diarrhea flagyl
    diarrhea for one week on flagyl
    diarrhea from flagyl
    die off from flagyl
    difference doxycycline flagyl
    diflucan flagyl
    diflucan flagyl yeast
    diflucan followed by flagyl
    diflucan the same as flagyl
    discontinued therapy cancer flagyl mepron nausea
    disulfiram reaction with flagyl
    diverticulitis flagyl
    diverticulosis abcess flagyl

Leave a Reply