Friday, 24 September 2004

To RedHat, Atom == RSS 2.0

I'm moused-over the RSS 2.0 link on RedHat's site.

RedHat Atom RSS 2.0

Bzzzzzzzzzzt. Try again folks!
Posted by david at 5:03 PM in blojsom ... all blojsom

Thursday, 23 September 2004

New blojsom theme - CPHI

Another day, another swell looking theme, "CPHI". Courtesy of FastCode, "One programmer's thoughts on .Net, Java, & PHP". Rock on!

This should play quite well with the Theme Switcher plugin.
Posted by david at 3:30 PM in blojsom ... all blojsom

Altered Minds weblog - powered by blojsom

Altered Minds weblog. Powered by blojsom.

I wonder if altered minds really change colors? Does it depend on the type of alteration? Inquiring minds want to know! /images/emoticons/mozilla_laughing.gif
Posted by david at 1:34 PM in blojsom ... all blojsom

Boinx Software weblog - powered by blojsom

Boinx Software weblog - powered by blojsom. Nice looking custom theme.

Digital video hardware and software. Fun stuff.
Posted by david at 1:31 PM in blojsom ... all blojsom

Wednesday, 22 September 2004

Theme switcher plugin for blojsom

Theme Switcher plugin! I was just lazy for not adding this earlier. I'm sorry. It probably won't happen again. /images/emoticons/mozilla_laughing.gif

I love it already. I can switch the look and feel of my blog by choosing from the installed themes and WHAM-O!
Posted by david at 12:39 PM in blojsom ... all blojsom

Tuesday, 21 September 2004

Pager Plugin for blojsom

Pager Plugin. Yet another one of the many plugins available for blojsom.

Pager Plugin is a Blojsom plugin that allows page by page view of blog entries. It provides a filter plugin that handles filtering based on the URL parameter "page-num", and custom JSP tag that handles rendering of the navigation links for use in the templates.

Google-esque navigation for your blog. Try it out hm'yah. Rock on!
Posted by david at 9:41 PM in blojsom ... all blojsom

blojsom, Hibernate, and ... Fermat's Last Theorem?

In a comment on my new blojsom theme, someone posted, "Dave, it has a nice look. FYI. I'm porting the backend of blojsom over to hibernate from the file store backend. I need it for some several reasons. I'd like to discuss the changes with you (in hopes of getting them integrated). Is there a forum to discuss, or can you e-mail me to discuss?" Now, that'd seriously kick ass if I could help someone else in getting a database backend in place for blojsom. Some of you might be familiar with Hibernate. Anyhoo ... My first thought was, "Oh no, Fermat's Last Theorem!" Let me refresh your memory on Fermat's Last Theorem. He wrote, "I have discovered a truly remarkable proof which this margin is too small to contain." I guess the comment box was too small to contain all the code changes /images/emoticons/mozilla_wink.gif But hey, discussions are already underway on the blojsom-developers mailing list.
Posted by david at 3:45 PM in blojsom ... all blojsom

New blojsom theme

Hot or not? Discuss.

There are links at the bottom to test it's valid XHTML and valid CSS.

I'm sold on it. A new default theme for blojsom perhaps? Probably. The original white, red, and black theme is sort of tiresome. This new theme is cool, crisp, and inviting. It says, "I may drive a Mercedes Benz, but I'm not going to pay a lot for this muffler." /images/emoticons/mozilla_laughing.gif

Asual Interactive Solutions is responsible for the theme. I'm just mangling some bits here and there.
Posted by david at 10:03 AM in blojsom ... all blojsom

Saturday, 18 September 2004

Posting via ecto 2

Left aligned.

Centered.

Right aligned.

Indented once.

Indented twice.

No more indenting!

  • Italic. Bold. Underlined. Strikethrough
Posted by david at 6:32 PM in Evil Experiments

Thursday, 16 September 2004

I resigned *and* moved on ...

... a few months back from using a 20 GB 2nd generation iPod to this brand spanking new 40 GB 4th generation iPod.

40GB iPod

But, to the unemployed, resigned, and moved on, best of luck. Buy yourself an iPod. It's a little bit of happy you can take with you wherever you go.
Posted by david at 2:42 PM in java ... just java

Wednesday, 15 September 2004

Vote for Java 5.0 Bug #5102290

Yesterday I filed a bug for Java 5.0. Bug ID#: 5102290 (requires login). Synopsis: Properties.storeToXML creates invalid XML if form-feed character present

There are a couple of new methods (storeToXML and loadFromXML) on the java.util.Properties object that allow you to export and load your properties files to and from an XML format. It's a simple format. Works like a champ. Well, it works until one of your keys and/or values contains a form-feed character (\f). So, even though the character gets written out as , this is an invalid character in XML 1.0. Try to read in that XML file you've just written and you'll get a nice exception from your XML parser.

Update: Already there are 8 more votes bringing the total to 9. Thanks. Keep 'em coming!
Posted by david at 4:33 PM in java ... just java

don't wait for the translation - powered by blojsom

don't wait for the translation - powered by blojsom. And a clean theme to boot.

Welcome to the club.
Posted by david at 3:33 PM in blojsom ... all blojsom

Tuesday, 14 September 2004

Re: Velocity vs JSP/JSTL ... vs FreeMarker

One of the other view technologies I've found to be quite useful is FreeMarker. Originally, we supported this in blojsom because one of our users praised its merits and it was as simple and yet more powerful in many respects than Velocity. One of the features that does stand out if you're migrating from JSP-land is the ability to use JSP tag libraries in your templates. This and more is explained in the FreeMarker vs. Velocity page.

Spring also has support for integrating FreeMarker.
Posted by david at 9:05 AM in java ... just java

Monday, 13 September 2004

Hello World on September 13, 2004

Hello world!
Posted by David Czarnecki at 4:41 PM in Evil Experiments

Saturday, 11 September 2004

Magnolia and blojsom Weblog Integration

What is Magnolia?

What is Magnolia?

Magnolia is the first open-source content-management-system (CMS) which has been built from scratch to support JSR-170, the upcoming standard API for java content repositories (JCR).

Magnolia is the free, open source, J2EE deployable content management system software (CMS) developed by obinary. Magnolia uses the upcoming standard API for java content repositories (JCR) (JSR-170) to access its content. It has an easy to use web-browser interface, a clear API and a useful custom tag library for easy templating in JSP and Servlets.

Magnolia and blojsom Weblog Integration page. Interesting. Authenticating blojsom users against the Magnolia user database. So, Magnolia folks, how is blojsom integrated? Inquiring developers want to know /images/emoticons/mozilla_laughing.gif
Posted by david at 12:02 PM in blojsom ... all blojsom

Friday, 10 September 2004

The only thing that could trump the JDOM 1.0 release ...

... would be for the Castor folks to release Castor 1.0 today. Castor's lineage seems to go back farther than Y2K.

Version 0.8 March 27, 2000.

Wow ... just wow.
Posted by david at 3:35 PM in java ... just java

blojsom plugin API

One of the easiest ways to extend the functionality in blojsom is to write a plugin using our plugin API.

Take a look at the available plugins. From calculating days since posts were made to emoticons to enabling moblog to trackbacks handling, you can vastly different things.

And now that you can write a plugin which broadcasts or listents for events using our event API, the behaviors you can realize through plugins is only limited to your imagination.

This API has been available since blojsom version 1.4 released on March 2, 2003.
Posted by david at 8:38 AM in blojsom ... all blojsom

Thursday, 9 September 2004

You've broken the build!

Not that this happened to me today trying to build another project ... but ...

You are an open-source project. I've downloaded your source via anonymous CVS from SourceForge. I've created a project in my development environment. I added the Ant build file to my project. I execute your "build" target. You failed to include source code in new packages that other code depends on.

You've broken the build!
Posted by david at 8:56 PM in java ... just java

Tuesday, 7 September 2004

blojsom 2.18 available

blojsom 2.18 is now available.

So, what's new in blojsom 2.18?

* Event and listener API - This is the biggest addition in functionality to blojsom. If you are developing components (dispatchers, fetchers, listeners, and plugins) for blojsom, then you can use this API to subscribe to and publish events to other components running in the system. Thanks to Mike Stanley (a new blojsom user) for proposing changes to this API early on that allowed us to hit the ground running with more functionality sooner rather than later.

As of blojsom 2.18, the only events published are added, updated, and deleted entry events from the entry administration plugin. The only events subscribed to are in the Weblogs Ping plugin which listens for those events and updates the weblog notification services defined in your blog properties.

In blojsom 2.19 and later versions, I'll be adding more published events and more listeners to act on certain events.

For more information, visit the event notification and listener API page on our documentation site.

* The Blogger, MetaWeblog, and Atom API extensions were updated with minor improvements in functionality.

* Improved functionality in some of the administration plugins.

* Improved security with the file upload plugin. The new functionality allows you define a set of file extensions for files that users cannot upload. This list defaults to .jsp, .jspf, .jspi, .jspx, .php, .cgi.

Why add this functionality? Users could potentially upload a malicious JSP file. Administrators might want to disable JSP compilation if you still want users to be able to upload JSP-related files.

* Fixed a couple of bugs.

Simply the best!
Posted by david at 6:19 AM in blojsom ... all blojsom

Friday, 3 September 2004

blojsom dispatcher API

In blojsom we can support any presentation technology by writing an implementation of the BlojsomDispatcher interface. Available dispatchers in either the core blojsom download or the add-on bundle (links to blojsom documentation for each dispatcher): JavaServer Pages (JSP), Velocity, FreeMarker, and Groovy.

Choice is good!
Posted by david at 3:57 PM in blojsom ... all blojsom

Disabling JSP compilation under Tomcat

As Dave and Simon noted, if you're writing a web application where individuals have the ability to push content to the server, disabling JSP compilation may be a good idea. In your $TOMCAT_HOME/conf/ directory, modify the web.xml as follows:
  1. For the default servlet, change the "listings" init-param to false. If someone does start exploring your site, at least they won't be able to retrieve a listing of files they might want to see if they can execute.
  2. Comment out the servlet definition block for the jsp servlet. This is the servlet mapped to .jsp and .jspx in this file.
  3. Comment out the servlet mapping block for the .jsp and .jspx URL patterns.
  4. If you do allow file uploads, you might not want to allow .jsp, .jspx, or other JSP-executable extensions if the files are uploaded to an area of the server where they can be retrieved via URL.
That should just about do it. Unfortunately it's not point-and-click, but it does work.
Posted by david at 1:51 PM in java ... just java

Thursday, 2 September 2004

The Richard M. Spackmann Campaign Blog - powered by blojsom

Sorry to get "political" on y'all, but "Spack" who uses blojsom to power the Maple Avenue Fire Department blog is also using blojsom to power The Richard M. Spackmann (Fire Commissioner '04) Campaign Blog. He's running for the position in the Greenfield Fire District (near Saratoga Springs, NY).

The Greenfield Fire District encompasses all of the Town of Greenfield and part of the Town of Wilton. The section of the Town of Wilton is defined by Maple Avenue, Northern Pines, Carr Road, Jones Road, Ingersol Road, Weibel Avenue, and Route 50 north back to Route 9 (Maple Avenue). The Maple Avenue Fire Department is the company that covers that area of the Greenfield Fire District. The rest of the Town of Wilton is covered by the Wilton Fire Department.

The site looks great! I'm impressed.
Posted by david at 9:21 PM in My Life With The Thrill Kill Kult

blojsom event notification and listener API

One of the new APIs that will be available in blojsom 2.18 is the event notification and listener API. It's probably similar to what MovableType has in terms of the application-level callbacks. We've got our own take and twist on things.

The blojsom event notification and listener API allows developers to write blojsom components (dispatchers, fetchers, listeners, and plugins) that respond to events from other blojsom components in a well-defined way. For example, based on an event indicating that a blog entry was added or updated, a listener or plugin could be written to respond to that event and "ping" a weblog update notification service like weblogs.com or blo.gs. Another example might be a listener or plugin which e-mails a list of individuals when a blog entry has been added to a blog.

The API is easy to work with and is as simple as implementing the BlojsomListener interface. Components that add themselves to the event broadcaster can also pass a filter so that the component only receives events it is interested in processing.

Other uses for this functionality might be to for a fetcher to update its cache when a new entry is available, a dispatcher that performs static rendering based on entry-related events, a plugin marking a comment as "pending" so that it can later be moderated. The list is endless. The hooks are now there for you to be able to write "active" components.
Posted by david at 9:31 AM in blojsom ... all blojsom

Wednesday, 1 September 2004

Ahoy mateys ... the blojsom piratizer plugin

Avast ye filthy swabs and prepare to walk the plank!
Posted by david at 9:41 AM in blojsom ... all blojsom

The new blojsom logo

Old:

Old blojsom logo

New:

New blojsom logo

We're excited /images/emoticons/mozilla_laughing.gif

Thanks to Bob Barkowski Design for working with us. Now we need to get new t-shirts and some hoodies made up ASAP!
Posted by david at 9:31 AM in blojsom ... all blojsom
« First  « Prev   1 2 3 4 5   Next »  Last »
« September »
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
2627282930