Wednesday, 31 December 2003

Testing scheduling

I didn't actually write this post on New Year's Eve. I'm writing it on January 13, 2004 and scheduling it for posting on December 31, 2003.
Posted by czarnecki at 11:22 AM in Evil Experiments

Tuesday, 30 December 2003

Johnnie Walker Blue

This message was sent using Picture Messaging from Verizon Wireless! To learn how you can snap and send pictures with your wireless phone visit http://www.verizonwireless.com/getitnow/pixmessaging.

Posted by at 10:55 PM in Moblog

Playing around with XStream

I've been toying with XStream as way to serialize and de-serialize blog entries to and from XML. My main requirement was that I want to do absolutely no external configuration, i.e. no mappings, no XSD, no directly manipulating DOM, blah blah blah. XStream seems to fit the bill.

The one issue I ran into was with the handling of character encodings. By default, the DomXMLReaderDriver uses the getBytes() method on the XML string passed into it. That method uses the platform's default character encoding to give you back the byte array. Typically, default character encodings on platforms aren't set to "friendly" encodings like UTF-8.

Even if someone in the Codehaus doesn't like our site, I still bothered to download the source and submit an issue to the project lead /images/emoticons/mozilla_wink.gif

Posted by czarnecki at 5:29 PM in java ... just java

IntelliJ Aurora, build 1050 available

Changelog. Download.

More bugfixes y'all ... that's all.

Posted by czarnecki at 12:50 PM in java ... just java

Monday, 29 December 2003

Revisiting blojsom vs. Roller to address some comments

At the beginning of October, Dave Johnson (of Roller) and I (of blojsom) each received an e-mail asking about pros/cons of our respective blog software packages. Dave's entry. My entry.

Revisiting some of the advantages of Roller: "I think the main advantages that Roller has over Blojsom are full multi-user support and a web-based UI for editing blogs, managing bookmarks, configuring blogs/themes, and for configuring the system. Blojsom doesn't have an extensive web-based UI like Roller's."
  • blojsom has had full multi-user support since blojsom 2.0 released at the end of August.
  • blojsom now has an extensive web-based UI for editing blogs, configuring blogs/templates/flavors/plugins, etc... Actually, just looking at the administration console, you've got the ability to edit authorizations, blog properties, templates, flavors, plugin chains, entries, categories, file upload, and adding/deleting users.
I wanted to address the comments in Dave's entry's comments here.
  • even if you actually manage to implement a database fetcher, you will pay the price in performance: I don't think so. The Roller folks have done a great job at improving the performance of Roller and it's backed by a database. Not to mention JRoller having 2000+ users.
  • Blojsom code is very tightly coupled to the underlying filesystem based persistence layer: The StandardFetcher is, yes. But then, it's "job" is to deal with entries and categories from the filesystem. A JDBCFetcher or an IMAPFetcher would be tied to a database and a IMAP server, respectively. I guess the Comment and Trackback plugins were written for the filesystem.
  • Besides there is too much business logic in the UI, with sevlets loading blogs from the file system and managing data structures that map users to blogs, blogs to blogcategories etc..: The last I looked, BlojsomServlet is part of the business logic layer and manages all of that stuff quite cleanly. The Roller folks have abstracted a bunch of macro (repetitive) stuff from their Velocity templates into Velocity macros. We could do the same. All we're doing in the blojsom templates is looping over categories and entries and displaying them. Did I mention that we've also abstracted the presentation technology so that you can use JSP, Velocity, or FreeMarker to develop your UI templates in blojsom? I would say we've quite well abstracted the presentation layer from the business logic layer.
  • I wish they had put some thought into creating an abstraction for the persistence layer. 50% of the code in blojsom is not needed, coz the database can handle relations for you..and in a cleaner more elegant way..: Ummmm, I guess. I can understand the gripe with a bonafide persistence layer, but we've done some of that with the BlojsomFetcher interface. There are some changes I'll make to better support multi-user blojsom, but writing a fetcher to use JDBM was pretty straightforward.
  • Also blojsom has millions of properties files scattered all over the place.. They use properties files for user-level and application level configuration/preferences. Im not too crazy about property files...and more so when there are used in a clean way..: Danger ... danger Will Robinson. Gross overstatement. We do in fact use properties files. So does Roller. Not as many in Roller, but they're there. Properties files are good. The only change we made to standard Java properties files was the ability to use properties files in other file encodings so that you weren't limited to ISO-8859-1 (Latin-1) characters. And properties files exist in blojsom in 2 places: 1) in the /WEB-INF directory for global properties and 2) in the /WEB-INF/(user) directories for individual user properties files. At a minimum, you would need 4 global properties files (blojsom.properties, dispatcher.properties, plugin.properties, and velocity.properties) and 3 user-level properties files (authorization.properties, blog.properties, and plugin.properties).
Posted by czarnecki at 8:38 PM in blojsom ... all blojsom

(Atom) Sandler 0.4 released

Mark has released Sandler 0.4. That means blojsom not only can generate Atom 0.3 feeds, but we can edit them via the Atom API. Kick ass!

In case you were wondering, Sandler is a Java toolkit for generating and processing Atom feeds. Atom is a format for syndicating, archiving and editing episodic web sites.

Posted by czarnecki at 12:02 AM in Atom

Thursday, 25 December 2003

FUH2

This message was sent using Picture Messaging from Verizon Wireless! To learn how you can snap and send pictures with your wireless phone visit http://www.verizonwireless.com/getitnow/pixmessaging.

Posted by at 4:08 PM in Moblog

Tuesday, 23 December 2003

I am evil!

Hear me roar /images/emoticons/mozilla_laughing.gif
Posted by demo at 7:49 PM in Evil Experiments

IntelliJ Aurora, build 1024 available

Changelog. Download.
Posted by czarnecki at 7:38 PM in java ... just java

IntelliJ Aurora, build 1019 is available

Changelog. Download.
Posted by czarnecki at 1:14 PM in java ... just java

Monday, 22 December 2003

blojsom 2.06 available

Notable aspects to this release of blojsom:
  • Added Edit Blog Users plugin to allow a defined set of "administrators" to add and delete users.
  • Added Edit Blog Authorization plugin to allow you to add new authors to your blog.
  • Added Edit Blog Plugins plugin to allow you to edit the flavor-based plugin chains for your blog.
This completes the initial cut at web-based administration. Adding and deleting users dynamically was an RFE since mid-August. Now it's time to add web-based administration for some of the other plugins like the macro expansion plugin.

Full changelog. Upgrading instructions here.
Posted by czarnecki at 2:56 PM in blojsom ... all blojsom

Friday, 19 December 2003

blojsom ... 3000 downloads and counting!

In less than a year, blojsom has hit 3000 downloads. Thanks is about all I can say. I'm sure Mark would reiterate that sentiment.

Just some of the feature highlights of where blojsom is currently at:
  • Multi-user support allowing you to support separate blog instances with a single installation of blojsom.
  • Web-based administration for configuring blog properties, templates, flavors, plugins, editing entries, editing categories, uploading files, and user administration.
  • Plugin support to allow developers to extend the capabilities of blojsom.
  • Customizable templating system allowing you to choose the appropriate presentation technology. JSP and Velocity supported "out of the box". FreeMarker supported as an add-on download.
  • XML-RPC support for remote editing via the Blogger API, MetaWeblog API, or Atom API.
  • No database required.
  • Customizable interface for retrieving blog entries and categories allowing for extension to other backend storage mechanisms like a database.
Again, thanks!
Posted by czarnecki at 11:26 AM in blojsom ... all blojsom

Thursday, 18 December 2003

IntelliJ Aurora, build 998 is available

Changelog. Download. I'll have to check out the UI designer as they've added internationalization (i18n) support this go-round. Wrote a book on that /images/emoticons/mozilla_laughing.gif
Posted by czarnecki at 10:17 PM in java ... just java

Edit blog authorization plugin ... done

So, this plugin allows you to add authorized users to your blog. Useful if you've got a single blog that you want multiple people to be able to post to, modify blog properties, add/edit/delete categories, etc... Just more fodder for the "Administer blojsom via the web" category. That category is really starting to take shape and is kicking major ass!
Posted by czarnecki at 1:43 AM in blojsom ... all blojsom

Wednesday, 17 December 2003

Queer Eye for the Dictator Guy

Don't ask, don't tell? Not when you've got to get one of the most sought after dictators in the world ready for the media blitz!

Posted by czarnecki at 10:47 PM in My Life With The Thrill Kill Kult

The Apocalypse in 2004 or Dirty Dancing: Havana Nights

So, there are going to be a few movies coming out in 2004. One of them is Dirty Dancing: Havana Nights. Don't ask me how I came to this page. OK, it was via a link from Fucked Company. Here's the kicker (my emphasis).
Dirty Dancing: Havana Nights tells a timeless story of a young woman's discovery of love, sensuality and independence - but with a sizzling style and rhythm all its own. In planning this new chapter in a beloved franchise, Artisan Entertainment and Miramax Films have put together a team of creative dynamos from worlds of film, music and dance.
Wow ... just wow! OK, where do we begin?
  • Who in the fuck thought Dirty Dancing was a franchise?
  • Creative dynamos? The one bit of creativity these douchebags did manage to eek out was not calling the movie, "Dirty Dancing 2: (some assinine tagline)"
  • "The resulting film is certain to give audiences - from newcomers to those who cherish the first Dirty Dancing - the time of their lives, and then some." - Uggggggh. They quoted that song ... that awful, awful song!
Posted by czarnecki at 8:38 PM in My Life With The Thrill Kill Kult

Mac OS X 10.3.2 update available

Check your software update.

The 10.3.2 Update delivers enhanced functionality and improved reliability for Mac OS X v10.3 "Panther" and is recommended for all users.

Key enhancements include:

improved file sharing and directory services for mixed Mac and PC networks more robust printing to PostScript printers
improved font management
updated Mail and Address Book applications
new ATI and NVIDIA graphics drivers
FileVault, FireWire 800, WebDAV and USB Printing improvements from Update 10.3.1
previous standalone security updates

For detailed information on this Update, please visit this website:http://www.info.apple.com/kbnum/n25652
Posted by czarnecki at 7:45 PM in Appleicious

blojsom RFE 790462: Blojsom 2 : dynamically adding new users

RFE:
In blojsom 2.0, it would be great to have a way to add a new user without having to restart the servlet. This would allow people providing hosted blojsom services to add users without too much pain.
Response:
This functionality will be available in blojsom 2.06.
Posted by czarnecki at 3:42 PM in blojsom ... all blojsom

Tuesday, 16 December 2003

Cristal

This message was sent using Picture Messaging from Verizon Wireless! To learn how you can snap and send pictures with your wireless phone visit http://www.verizonwireless.com/getitnow/pixmessaging.

Posted by at 3:49 PM in Moblog

blojsom 2.05 available

Notable aspects to this release of blojsom:
  • Added File Upload plugin to allow you to upload resources to your blog from the web.
  • Added Edit Blog Entries plugin to allow you to edit blog entries from the web.
  • Added Edit Blog Flavors plugin to allow you to add new flavors from the web.
  • Added FreeMarker dispatcher (add-on) to allow users to develop templates in FreeMarker.
  • Updated Atom templates to 0.3 snapshot.
Full changelog. Upgrading instructions here.
Posted by czarnecki at 9:31 AM in blojsom ... all blojsom

Monday, 15 December 2003

Christmas Tree photo

Here's the photo of the front room tree as Russell requested.

And what's that shiny box in the lower left of the photo? Is is Cristal ... drink of choice for the true playa? Well, I'll leave it to you to ponder. I've got to go now, Puff Daddy is at the dizzo and we be up out this biznatch for the evening. Time to roll y'all!
Posted by czarnecki at 10:56 PM in My Life With The Thrill Kill Kult

IntelliJ Aurora build 996 is available

Changelog. Download.
Posted by czarnecki at 8:52 PM in java ... just java

Saturday, 13 December 2003

Party alcohol OR Now *that's* a liquor cabinet

Inventory (front to back): Row 1: Bacardi Rum, Bombay Sapphire Gin, Absolut Vodka, Lime Juice, Grenadine, Johnnie Walker Red, Sambuca, Christian Brothers Brandy. Row 2: Don Juan Mescal, Don Julio Tequila, Black Velvet, Ricard Pastise, Carolans Irish Creme. Row 3: Buttershots, Triple Sec, Vermouth (Extra Dry), Cointreau, Cherry Brandy, Chambord. Row 4: Apple Puckers, Vermouth (Rosso), Campari, Bushmills, Seagrams 7, Jack Daniels, Sabroso, Godiva. Row 5: 99 Bananas, 99 Apples, Creme de Menthe (clear + green). Row 6: Yellow Tail Merlot, Shiraz, and Chardonnay.

Let's just say there's even more top shelf liquor in the cabinet, freezer, and wine cellar that won't be making it out for the holiday party.
Posted by czarnecki at 4:37 PM in My Life With The Thrill Kill Kult

Atom 0.3 snapshot for blojsom

Mark announced the Atom 0.3 snapshot. If you're using blojsom and want to be 0.3 compliant (or you want to see how we're doing things), well here's the template and here's the CSS. And yes, I validate.
Posted by czarnecki at 11:53 AM in Atom

Thursday, 11 December 2003

BlogNog or Evan Williams' side business

TFF! Moblogging at its best. Here's the photo!
Posted by czarnecki at 1:20 PM in My Life With The Thrill Kill Kult

BlogNog

This message was sent using Picture Messaging from Verizon Wireless! To learn how you can snap and send pictures with your wireless phone visit http://www.verizonwireless.com/getitnow/pixmessaging.

Posted by at 12:12 PM in Moblog

I know why everyone is getting the flu

Virtually every photo I've seen in any flu outbreak article never shows anyone with a smile on their face, 'cept for the person administering the shot to the crying (usually a child) "victim". Yet ... shots do suck.
Posted by czarnecki at 9:52 AM in My Life With The Thrill Kill Kult

So, just to clarify ... blojsom is older than 1.7

It seems that Erik picked up that blojsom is 1.7. While that was true back in April, we're at version 2.04. Thanks for listening /images/emoticons/mozilla_laughing.gif
Posted by czarnecki at 9:47 AM in blojsom ... all blojsom

Wednesday, 10 December 2003

Personalized (RSS) feeds or "Choose Your Own Adventure"

It seems that weblog feeds are made available in a few ways.

The Hands That Feed You
On one hand, you can get a feed of entries from all a weblog's available categories. OK, this is great, but sometimes I really don't want to waste our collective bandwidth if I think one or a few categories aren't really to my particular liking. Now, while that doesn't necessarily add up to a lot of bandwidth on the individual scale, it does add up to a lot of bandwidth on the collective scale. A lot of people pulling from popular sites (304/Not Modified aside) can be "expensive". On the other hand, you can with some weblog software, get a feed for each individual category. OK. That's great. That means that I can selectively choose which feeds I want to aggregate. However, let's say I like 8 out of 10 of a particular weblog's categories. It's not that much of a hassle to put the 8 feeds into my aggregator, but let's face it, it is a hassle.

Three Hands Are Better Than Two
I got to thinking this morning that one of the qualities I like about blojsom is its flexibility in being able to define, in some regular fashion, how the blog author wants to present information using flavors and the default category mapping. In addition to the two hands mentioned above, blojsom adds the ability to map a subset of categories to the default or "/" category based on a particular flavor. For example, for the default flavor, HTML, you get entries from all of my categories for this blog if you just hit http://www.blojsom.com/blog/. However, for any of the syndication flavors (RSS and such), you get a subset of the categories from the blog, http://www.blojsom.com/blog/?flavor=rss2. OK, so it's only one category (my moblog) that's left out, but it's still left out. Thank goodness /images/emoticons/mozilla_wink.gif

The Deck Is Still In My Favor
So, that's good stuff there with blojsom. However, the deck is still stacked in my favor in that for whatever flavor you choose, I as the blog author am telling you what content you're going to get. <kyles-mom>What what what?!</kyles-mom>. Do you care? Honestly I don't know. But I want to give you a choice.

Playing Fair or No Aces Up My Sleeve
This morning I whipped up a "Choose Your Own Adventure" plugin. Let me describe it with some screenshots.
  • Screenshot 1: A sample blog demonstrating a blog where all the categories get shown for the default flavor, HTML.
  • Screenshot 2: A simple form allowing the user to choose a subset (or all) of the categories from that blog and a choice in which flavor to see the blog.
  • Screenshot 3: The same blog where the user has chosen they only want to see the Java category for the HTML flavor.
  • Screenshot 4: The same blog where the user has chosen the "Category with space" and "moblog" categories for the RSS2 flavor.
Is this crude? Yes, but it only took a few minutes. Is it a bit crufty? Maybe. Does it work? Yes. Is it a step in the right direction? It's a step in some direction, forward I hope. Why would I want to use this? Because you like what I say about blojsom and Java but don't give two diddly squats about my opinions on Jane's Addiction.

It's a way of saying, "I like you, but I don't like like you." /images/emoticons/mozilla_laughing.gif So, maybe with some pimpin' or if anyone picks up this entry, we'll see where this goes. For now, it's an interesting experiment that I have yet to unleash from the lab.

Thoughts?

Update: 1:34 PM
I read the "Worse is worse" post. The last line I adapted to my thoughts here, "it is time for us to reject the simple-minded interpretation of the slogan, and start putting out weblogs that really are better (on the dimension of goodness that our readers have, not necessarily our own)."
Posted by czarnecki at 1:22 PM in blojsom ... all blojsom

Tuesday, 9 December 2003

A Christmas Spirit

I just got a Christmas gift from a colleague. And the shot to prove it. It's a bottle of Kaffir Lime vodka from Hangar One. Hands down! This is one of the best vodkas.

Good thing my vacation starts tomorrow /images/emoticons/wink.gif
Posted by czarnecki at 2:34 PM in My Life With The Thrill Kill Kult

Kaffir Lime

This message was sent using Picture Messaging from Verizon Wireless! To learn how you can snap and send pictures with your wireless phone visit http://www.verizonwireless.com/getitnow/pixmessaging.

Posted by at 2:16 PM in Moblog

My soon to be "Out of Office" reply

I am on vacation and will be returning to the office on Monday, January 5th, 2004. I will not be checking e-mail or voicemail during my absence. Enjoy your holiday and have a great new year!

-David
Damn, that's smooth /images/emoticons/mozilla_laughing.gif
Posted by czarnecki at 11:33 AM in My Life With The Thrill Kill Kult

Monday, 8 December 2003

Scene excerpt from "The Matrix: Christmas Reloaded"

The Wachowski brothers ruined what could've been a great series with additional film canisters. Now they've gone ahead and ruined Christmas! Bastards!

Spoon Boy: Do not venture to the North Pole looking for Santa Claus ... that's impossible. Instead only try to realize the truth.
Neo: What truth?
Spoon Boy: There is no Santa Claus.
Posted by czarnecki at 4:17 PM in My Life With The Thrill Kill Kult

IntelliJ Aurora build #992 is out

Changelog. Download.

This probably would've shown up on Erik's blog. Here's to him hopefully kicking the flu soon because Monday's aggregator goodness just isn't as good without a little bit of truth out there from Erik.
Posted by czarnecki at 3:52 PM in java ... just java

Sunday, 7 December 2003

3 in '03?

blojsom is well on its way to almost 3,000 downloads in 2003. We're currently at 2845 downloads. That's not bad considering blojsom wasn't even a reality until February 1, 2003.

If it happens, it happens. If not, well, 3,000 downloads is respectable. Thanks again!
Posted by czarnecki at 9:22 PM in blojsom ... all blojsom

Saturday, 6 December 2003

The End of the World. Flash-style.

The End of the World. Enjoy! Yeah, it's pretty fscking funny y'all.
Posted by czarnecki at 11:06 AM in My Life With The Thrill Kill Kult

Friday, 5 December 2003

I'm feeling lucky too!

[link]
Posted by czarnecki at 8:38 PM in blojsom ... all blojsom

blosxom, blojsom, and Channel Z

Rael has written up a great entry on blosxom and it's relation to what Dave Winer is now doing with Channel Z.

Dave's new organization is based on hierarchical categories. This is new for Radio, but this is nothing new for blosxom and consequently blojsom which is based on blosxom. My world view is quite simple as you can see from the categories I've put together, but it is hierarchical (at least under blojsom, it is).

There are some things to learn from the Channel Z notes. Specifically, some thoughts I've got at the moment:
  • The index page: In Dave's new view for Scripting news, you see what's "on" today. In other words, you see the current day's entries. This would certainly be possible in blojsom. I could envision a change to the calendar filter plugin to support showing only the current day's posts if no date is provided. I don't know if Dave has done this in Channel Z, but blojsom supports category mapping for the index "page" or what I consider the default or "/" category. In blojsom, what you can do is present entries from all categories (up to a certain depth), some (a chosen subset of categories from within your category hierarcy), or use the root "/" category as a category itself. Furthermore, blojsom's flavors allow you to define a new flavor ("geek") setup to say render as HTML, and then choose the "/java", "/blogging/formats/RSS", and "/blogging/formats/Atom" categories to be shown when the "geek" flavor is requested. I could envision supporting dynamic flavors so that users could setup their own RSS feeds for the categories they wanted to see from my blog. That shouldn't be a problem at all.
  • "JiM: How to re-categorize posts?". Hmmmm. This is touchy. Re-categorization to me is something that should not be taken lightly. I'm concerned about permalinks. I've had this blog online for almost a year and although I'd consider changing the hierarchy around, I'd want to provide some way of pointing old entries to new entries.
  • Multi-user blogs: blojsom supports multi-user blogs. For example, my blog and my evil twin's blog. Now, how can I render a view that presents those together? Maybe I take out the notion of a default user (that was done for permalink preservation)?
  • "JH: Do you want icons for categories and click the picture to step back one post in that category". Hey, we've got that in blojsom. It's supported by category meta-data.

Posted by czarnecki at 3:13 PM in blojsom ... all blojsom

Audlink Message 0312051110

Posted by czarneckid at 11:03 AM in Evil Experiments

Upcoming lawsuit: McDonald's sued for Big Macs that cause "Road Rage"

Exhibit A, "Increased risk of traffic accidents in subjects with latent toxoplasmosis: a retrospective case-control study".
Exhibit B, "Woman Gets 10 Years for McDonald's Mayo Spat".

Basically, if you eat undercooked meat you are more likely to be involved in a car accident. Toxoplasma is a bug you get from eating undercooked meat. Apparently it slows reaction times, and makes people more likely to be aggressive. This leads to the logical conclusion that eventually someone's going to sue McDonald's for selling Big Macs that cause "Road Rage". *sigh*
Posted by czarnecki at 10:21 AM in My Life With The Thrill Kill Kult

"Does that make blosxom users Raelians?"

Actual IM conversation:
me (9:04:58 AM): His name is Rael?
colleague (9:05:01 AM): yes
me (9:05:04 AM): Does that make blosxom users Raelians?
I was amused /images/emoticons/mozilla_laughing.gif

So, what does that mean for blosxom clones like blojsom? I knew using the file system as your content database was a foreign concept, but alien? /images/emoticons/mozilla_laughing.gif
Posted by czarnecki at 9:12 AM in blojsom ... all blojsom

Thursday, 4 December 2003

Audio blogging via Audlink

Here's another audio blogging post from moi via the Audlink service. I had previously gotten blojsom up and running with Audblog as illustrated hm'yah.

So, here's the skinny. Audlink is a new service and it's free. It may not be in the long term, but it's free right now. This is a good thing. They are accepting donations. They currently support Journalspace, Blogger/Blogspot, LiveJournal, MovableType, TypePad, b2, and Nucleus. Hopefully blojsom will make it onto that list. I'm working on that now.

Anyhoo, if you want to set your blojsom blog up with Audlink, let me know. It did require a tweak to the Blogger API handler because their system currently sends a space along with the blog ID which fscks up the posting to the particular category. I've already sent e-mail about this, so hopefully they can get that issue resolved along with being able to add a default (or customizable) description for the post so that blojsom (and blosxom-clone) blogs can be happy given the complex title-newline-description format /images/emoticons/mozilla_wink.gif

Well, back to hormone therapy to deepen my voice /images/emoticons/mozilla_laughing.gif
Posted by czarnecki at 3:32 PM in blojsom ... all blojsom

Audlink post

Audlink Message 0312041518
Posted by czarneckid at 3:10 PM in Evil Experiments

Wednesday, 3 December 2003

Edit blog flavors plugin ... checked into CVS

So, you can now add new flavors to your blojsom blog via another handy dandy administration plugin. It's quite simple. You choose a name for your flavor, its content type (default is text/html), character set (default is UTF-8), and select one of your existing templates for rendering that flavor. And there you go.

Up next, deleting flavors and adding new templates (you can already edit existing templates). Enjoy!

So, blojsom 2.05 soon to be available.
Posted by czarnecki at 11:37 PM in blojsom ... all blojsom

iPods ... in color ... WOW!

OK, ColorWare hands down gets today's eye candy award. I am drooling at the colored 40 GB iPods. <homer>Mmmmmmmm. Candy Apple iPod. Grrrrrrrrgle!</homer> And be sure to check out the colored iBooks and PowerBooks.

Must ... put ... credit card ... away ... immediately! /images/emoticons/mozilla_laughing.gif
Posted by czarnecki at 10:25 AM in Appleicious

Tuesday, 2 December 2003

Feeds per category ... and more

Now you can get feeds per category in Pebble. Nice. Roller has had feeds per category. Nice. blojsom has always been able to generate feeds per category. Nice. You'll notice the RSS buttons next to my categories.

So, the "... and more" part. Taking it even a step further, and this is going back awhile now (version 1.2 actually), blojsom can generate feeds for an arbitrary set of categories per flavor. Wait ... wait ... wait. Say that again? blojsom can generate feeds for an arbitrary set of categories per flavor. Yep. That's what I said. This applies to the default or "/" category, basically your "index" page for your blog. We called it category mapping.

Let's say I wanted to create a "geek" flavor that used the RSS 2.0 format and I wanted to aggregate my "Java" and "blojsom" categories. I'd add a new entry to my flavor configuration that looked like:
geek=rss2.vm, text/xml;charset=UTF-8
I'd then be able to edit my blog properties and assign the "Java" and "blojsom" categories to the geek flavor. It's handy. Mark has done it with his geek flavor. He's chosen to aggregate his "Java" and "Swing" categories for the default or "/" category when requesting the geek flavor.

You're still able to get feeds per category in the geek flavor by specifying "?flavor=flavor-name" in the URL if you're navigating to a particular category.
Posted by czarnecki at 11:58 PM in blojsom ... all blojsom

Testing the emergency broadcast system

This is only a test. It won't last 60 seconds. At least, I hope it didn't take you that long to read this entry.
Posted by czarnecki at 11:59 AM in Evil Experiments

blojsom's FreeMarker dispatcher

The next release of blojsom will sport a new dispatcher that allows you to develop templates using FreeMarker. This will be an addon as I imagine most people will probably just want to experiment. Then again, folks like Chris who have the FreeMarker mojo are already using it as their primary presentation technology on their blog.

What's a dispatcher you ask? It's blojsom's abstraction of the underlying presentation technology used to render your blog. Out of the box, blojsom can render templates written in JSP or Velocity (we include a JSP dispatcher and a Velocity dispatcher). So, for example, the default HTML flavor could be rendered via a Velocity template while the RSS flavors could be rendered via a JSP template, all the while peacefully co-existing. And now ... FreeMarker joins the bunch.

Technically, this was not a stretch to support another presentation technology at all. In fact, I think I only changed <10 lines of code from the Velocity dispatcher. And thus was born, the FreeMarker dispatcher. And better yet, someone's written a Velocity to FreeMarker conversion tool available from the FreeMarker site. The only things I had to change in the templates were syntax for checking the existence of variables. That was just a straight template conversion with no optimization for FTL.

I've only used FreeMarker in a limited capacity where limited capacity means knowing how to load and process and templates and setting the proper bean wrapper, using the conversion utility to convert some Velocity templates, and adding "?exists" for checking the existence of certain variables. Smarter FreeMarker people (albeit biased /images/emoticons/mozilla_laughing.gif) have written a page on FreeMarker vs. Velocity. There's some cool stuff in there and that's what this is all about, playing with cool stuff.

In any event, enjoy your morning. If you're following blojsom via CVS and are feeling cheeky, you can experiment. The relevant bits are as follows. For your global dispatcher.properties file:
ftl=org.blojsom.dispatcher.FreeMarkerDispatcher
For an individual user's flavor.properties file (this would change the default HTML flavor to use the html.ftl template that you'd create):
html=html.ftl, text/html;charset=UTF-8
Posted by czarnecki at 10:16 AM in blojsom ... all blojsom

Monday, 1 December 2003

New blojsom wallpaper available

You can now download blojsom wallpaper in red, blue, and grey. Yummy!

As always, big ups to Mark Pierce over at OmniMondo for the graphics!
Posted by czarnecki at 5:35 PM in blojsom ... all blojsom
« First  « Prev   1 2 3 4 5   Next »  Last »
« December »
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031