Wednesday, 26 July 2006

"Would you whisper in my ear, the things you want to feel"

Slide - Goo Goo Dolls

Posted by david at 10:51 PM in Quotable Quotes

Monday, 24 July 2006

Google Maps and Blojsom

Adam Burt writes ...

Just been having fun with with Google Maps and Blojsom /images/emoticons/mozilla_laughing.gif
http://blogs.rave.ac.uk/blojsom/blog/aburt/?flavor=gmaps

The cool thing is that it uses the same meta data, that I've already
got embed with in my entries that I'm using with in Google Earth to
view my blog.

Nice!

Maybe I'll have to write a plugin so that you can add that metadata for a blog entry.

Technorati Tags:

Posted by david at 11:44 PM in blojsom ... all blojsom

Wednesday, 19 July 2006

"With your fingers you can touch me"

Black Swan - Thom Yorke

Posted by david at 3:35 PM in Quotable Quotes

Tuesday, 18 July 2006

Dynamic

dy·nam·ic (adjective): Characterized by continuous change, activity, or progress

Well, it looks like my static experiment worked. And so we have static rendering of this blog (now turned off), but on an entirely different site.

Main site.
Entry permalink.
RSS 2 feed.

Looks are deceiving, I'll admit that right away.

  • All the internal URLs still point to blojsom.com, so none of the images are broken. Easily fixed by adding properties for the static domain.
  • Individual entry pages aren't working except for the most recent entry.
  • Only the RSS 2 flavor was selected for static rendering.

Basically what I wanted to accomplish was to be able to render this blog statically, but with the bells and whistles that come with dynamic rendering. This is what I'd like to introduce in the next point release after I finally release blojsom 3.0. So, how does it work?

Using the blojsom event notification and listener API, I simply developed a plugin that listens for entry events and essentially re-creates a "request" that might normally come through the blog and be processed dynamically. So, for example, when an entry is added to the blog, the plugin gets that event and processes it in a pseudo-dynamic fashion for certain flavors marked for static rendering and for the entry itself. Although I haven't worked on handling other events like response (comments, trackbacks, pingbacks) approval or hooking into workflow where events might go through a process of approval before they're published, it's a good first start. A lot of the grunt work has already been done, so I think going forward it's just going to be a matter of establishing some common conventions for static rendering and proceeding.

Basically I was able to re-use all of the code in the plugin from BlojsomServlet with a few extra lines of code to process certain flavors appropriately. Thank goodness for mock objects.

MockHttpServletResponse httpServletResponse = new MockHttpServletResponse();
MockHttpServletRequest httpServletRequest = new MockHttpServletRequest();

This was really the only magic "sauce" that allowed me to process the event using all of the plugins and other components that would normally be executed in a request, which is why you see things such as the technorati tags being added appropriately for the entries. Another nice thing is that you still retain the ability blojsom already has to develop templates in Velocity, JSP, FreeMarker, Groovy, or WebMacro and have those templates used in static rendering.

Anyhoo ... that's all for now. Stay tuned!

Technorati Tags:

Posted by david at 10:36 PM in blojsom ... all blojsom

Static

stat·ic (adjective): Fixed; stationary.

<fingers-crossed/>

Posted by david at 7:49 PM in blojsom ... all blojsom

Friday, 14 July 2006

BoardPusher

BoardPusher allows you to create custom skateboard decks ala what Cafepress allows you to do for t-shirts, mugs, thongs, etc. (via Metafilter).

Technorati Tags:

Posted by david at 3:57 PM in Skateboarding Is Not A Crime

Picture Of A Blogger As A Young Clown


Picture Of A Blogger As A Young Clown
Originally uploaded by DavidCzarnecki.

My mom sent me this newspaper clipping off my parent's old refrigerator. It's me getting my face painted like a clown.

The clown paint says cute. The hooded sweatshirt and whisped hair say future badass!

Posted by flickr at 3:32 PM in My Life With The Thrill Kill Kult

Wednesday, 12 July 2006

We

We.

The third movie from Brothers Factory.

Technorati Tags:

Posted by david at 9:41 PM in My Life With The Thrill Kill Kult

Tuesday, 11 July 2006

"I forget I'm still awake"

An Honest Mistake - The Bravery

Posted by david at 10:26 PM in Quotable Quotes

Thursday, 6 July 2006

blojsom 3.0 M3 available

Changelog.
Upgrading.
Download.
Bug fixes.

Technorati Tags:

Posted by david at 9:52 PM in blojsom ... all blojsom
« First  « Prev   1 2 3 4 5   Next »  Last »
« July »
SunMonTueWedThuFriSat
      1
2345678
9101112131415
16171819202122
23242526272829
3031