Still Testing

I’m still testing out b2evolution. I have to say that I like the UI a lot better than my old blog but some things still seem a little wonky. I feel like there should be plugins out there for things like tagging and digg linkers, but I can’t find anything. Maybe if I feel ambitious I will look into contributing rather than just whining about it.

The actual reason for this post is I wanted to test out the cGeshi plugin for syntax highlighting. Making sure I can post code that looks nice is going to be essential to this blog working for me.

Here Goes:

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
 
/**
* User: Tea Curran
* Date: Jan 26, 2007
* Time: 1:37:53 AM
* Desc:
*/
public class RSSDownloadThread extends Thread {
private static Log log = LogFactory.getLog(RSSDownloadThread.class);
public static final String  CONFIG_PROP_FILE    = "application";
public static final int     SLEEP_MILLISECONDS  = 86400000;
 
boolean m_exit = false;
private static RSSDownloadThread m_instance = null;
int sleepTime = SLEEP_MILLISECONDS;
 
Defines defines;
 
private RSSDownloadThread() {
}

Word. works well and was super painless. I just had to adjust a little CSS to make the code not word wrap and we are in business. I may make the whole site wider so I can post cleaner code and bigger images.

In fact, this worked so well I think I might edit my WebSVN installation later on to use geshi instead of enscript. The enscript highlighting is great but seems to be lacking a lot of languages, is hard to add languages, and I can’t find a definitive page where new releases are hosted.

Update:
I ended up ditching b2evolution. I don’t remember why, but this site is now wordpress and using the GeShi wordpress plugin. It doesn’t seem to play nice with the wp visual editor, but that thing was dumb anyhow.