Feb
28
2007

24 Hours of groovyblogs.org: source now available

Well the first 24 hours of groovyblogs.org was a senssational one. Only one outage due to the most fierce electrical storm we’ve had in Canberra for ages. Note to self: move the router onto the UPS as well.

I’m pleased to announce that the complete source code for the site (including art) is now available, so if you’ve been wondering how much dodgy-ness can be crammed into 22 hours, now’s your chance to find out.

Should be a nice sample app for people to learn about fulltext search, RSS aggregation and generation, caching, and some simple Ajax uses.

Have updated the site with some fixes today based on the first 23 hours. The first fix was to suppress any entries not containing groovy or grails keywords. I think a lot of people may have thought that groovyblogs.org was just a general java aggregator written in groovy/grails. Fair enough.

Decided to make that more clear for people when they test their blog (with checkboxes for groovy related stuff). Incidentally, found a great site for icons in my quest for an open source tick and cross.

Filtering blog entries in the preview screen

Anyways, enjoy the source! And have fun with groovyblogs.org!

About the Author: Glen Smith

16 Comments + Add Comment

  • Great stuff Glen ;) Thanks for sharing

  • Great job, i will take a look at the source thank you!

    Benjamin

  • Cheers Glen, thanks for the experiment and the source. New tech like Grails needs people to do stuff like this.

  • Great work! groovyblogs.org looks fantastic… But, this is just a personal pet peeve of mine, do I have to download and unpack the 2Mb zip file to find out what terms you’ve licensed the code under? Can you put a LICENSE.txt file in the download folder for folks like me who’d prefer to know that info before downloading?

    In any case, thanks for sharing your work! Once I find out what the terms are, I just might download and start using your app.

  • Great idea. I was thinking that yesterday. I’ll put a licence in the next version. Might be a couple of weeks, but check back then.

  • Ok. Have placed a license.txt file in the directory for now. Will place a copy in the source download and comments with the next version.

    Like pretty much all my stuff, groovyblogs is licensed under the commercial-friendly Apache 2.0 license.

    Enjoy!

  • Thank you,
    I’m just starting with groovy/grails.
    Thanks for the code!

    cheers

  • Thanks for this great application, and for making the source code available too.

  • Hi Glen,

    the source code is not available:-( at the link provided

  • Sorry. Check back in a week. Just rebuilding the server from scratch right now… and haven’t restored the download section yet.

  • Thank you! I’m beginning Grails. I have good book but need good real world examples. This one will be useful source to learn.

  • I have ran ‘grails upgrade’ and then ‘grails run-app’, but there is an error during compilation:
    [javac] Compiling 40 source files to /home/pete/.grails/1.0.1/projects/groovyblogs-1.0-RC1/classes
    /home/pete/.grails/1.0.1/projects/groovyblogs-1.0-RC1/generated-java-source/DescendingComparitor.java:10: modifier private not allowed here
    private class DescendingComparitor
    ^
    Note: /home/pete/groovyblogs-1.0-RC1/plugins/quartz-0.1/src/java/org/codehaus/groovy/grails/plugins/quartz/TaskArtefactHandler.java uses unchecked or unsafe operations.

    I don’t know how to fix it. I would be very grateful for help.

  • Sure Pete. Just remove the “private” keyword and you’re good to go. I’ll migrate to 1.0 over the coming weeks and move the repo to GoogleCode to ensure everyone has the latest stuff as per what’s running on the site.

  • Could you please point me the groovy class in your project, where I have to remove “private” keyword? Does I have to remove it from generated DescendingComparitor.java file?

  • Pete, I’ve fixed this in the downloadable version of groovyblogs that I’ve uploaded to googlecode. You can grab it from the downloads section of http://code.google.com/p/groovyblogs/ and it’ll be all fixed.

    Thanks for your interest.

  • The link near the top of this page to download “the complete source code” is pointing to the old download, not the GoogleCode project. A bit confusing.

    Thank you for putting out some example code like this, it’s a great help.

Leave a comment

Glen Smith

About Glen

Co-author Grails in Action