revjim.net

revjim.net: powered by bBlog

I’m sure you’re wondering, so I’ll tell you. The new engine behind revjim.net is bBlog. My setup isn’t stock, but it’s close. Let me go over some of my changes.

Of course I’m not using the default templates — I’ve rewritten them all to my liking. It’s fairly easy to do given the flexible nature of the template engine behind bBlog: namely, Smarty. I’m using the cleanurls option, which isn’t something you can turn on with a single click. It takes a little configuring to get it going. Additionally, I threw away the included rss.php file, and just used Smarty to handle that as well. It seemed like the right thing to do. The “comments” urls and the “archive” urls are also not included. However, they are pretty easy to do. Just copy the “item” script (which is used when you enable cleanurls) and modify it to do whatever you need to do. By creating additional template files (aside from post.html, which is what is called by item by default) you can have different URLs call different template files. This is exactly what I’ve done.

I don’t use the {posts} block provided by bBlog, and instead use the {getrecentposts}, {getarchiveposts} and {getpost} functions, which are all included (thanks to my CVS commits) with the bBlog source and are self documenting via the admin control panel. For my needs, those functions work better than the block functions.

Additionally, I’ve added in email support, so that commenters can receive notification of replies. This isn’t in CVS, because I just added it quickly so that it would work and, because of that, it isn’t fully templateable (yet) — the subject line and message body are hardcoded in English, currently.

I wrote a small script to convert all MovableType Categories, Posts, and Comments into bBlog. Some information in MovableType is ignored, such as the “excerpt” and “extended entry” information, because bBlog doesn’t support it (yet!). Additionally, TrackBack data was NOT moved over. As soon as bBlog supports TrackBack, I’ll modify my script to include the conversion for that as well. If you’re interested in using the script, let me know and I’ll send it to you. It isn’t very clean (you have to edit the source and configure it manually) and it only supports MySQL based MovableType blogs, but it’s useful anyway.

Let me know if you have any questions regarding how it works, or how to use it for your own needs. I’d be more than happy to help you along and show you the ropes. If you’re a control freak, like myself, I bet you’ll like it.

  • http://www.gazal.in/ Ghazal

    From wher can we downlaod latest bblog?
    Is it better then wordpress?

  • http://revjim.net/ Jim Reverend

    Nah. Stick with wordpress.

  • http://www.senkrecht-it.com Webdesigner

    nice website and nice articles, thanks a lot

  • http://www.senkrecht-it.com Webdesigner

    nice website and nice articles, thanks a lot