Blogging Roller

Dave Johnson on open web technologies, social software and software development


Standalone SWT libraries available.

Don Park points out that you can now download "SWT libraries and source for standalone SWT application development." See the Eclipse download page and scroll all the way down to the bottom. There are also a bunch of example snippets.

Don Park: Eclispe team released binary and source packages for building standalone SWT applications.  Good stuff.  SWT API is a little akward compared to Swing, but not too bad considering the benefit: responsive GUI.  Downloadable packages for most of the key platforms are at bottom of the usual download page. Enjoy.

Tags: Java

Re: Joe Hewitt Comments

Hey Matt, don't bring JSP into it. You could probably do this in Roller 0.9.7 without even making a code change. Just use the Roller Editor UI to add a new page template to your site to produce comments in Hewitt's XML format:

   #set( $comments = $allComments )
   <comments>
   #foreach( $comment in $comments )
   <comment id="$comment.id">
      <author>$comment.name</author> 
      <email>$entry.email</email>
      <url>$entry.url</url>
      <timestamp>$comment.postTime</timestamp>
      <body>
         $comment.content
      </body>
   </comment>
   #end
   </comments>
Assuming that the page above is named 'Comments' then the URL to call it and retrieve the comments for your post would look like this:
http://www.raibledesigns.com/comments/rd/Comments?anchor=joe_hewitt_comments
UPDATE: I made a couple of corrections and additions to the code above and the the URL; these are shown in bold.

Tags: Roller

Rumor has it

that some subset of Wrox Press has been purchased by Wiley. I have absolutely no idea what this means for Professional JSP 2.0.
Tags: Java

Main | Next day (Apr 18, 2003) »