Nav & Search

Parsing dates from RSS-feeds to Groovy Date-objects in Grails

Projects - September 3rd, 2009

During my work with thurst.net i recently got into a snag when I tried to parse the publication dates from the RSS-posts and save them as Groovy-dates. After many checks and double-checks of the format for the parsing, I could’t understand why the Date.parse() function crashed and complained that there was something wrong with the format. I got closer to the solution when I tried parsing a date consisting of only numbers, since it worked I knew that the code parsing the string was correct.

(more…)

Introducing Thurst.net – Satisfying Your Thirst for News

Projects - August 31st, 2009

Today I activated thurst.net, it’s my first web application built using Grails designed to satisfy its users thirst for news. It does this by combining RSS-channels with twitters on the same subjects, this way the user can get editorial content and also see the latest buzz on the same topic as the posts.

I really like developing with Grails, it speeds up many of the mundane tasks immensely when creating applications for the web. The other side of the coin is that a lot of small problems surface during the coding and deployment of the first application in a new language on a new framework. With most of the problems out of the way thurst.net is now online (or actually on and off, it’s in heavy beta)!

(more…)