PowerBlogs.Com Development

post searching

The Tools -> Search Published Posts feature now has an implementation, though not the final one. It will now let you search by words or phrases.

Eventually I'm going to re-implement this using an inverse-index search which will allow complete boolean and phrase searching, but I haven't found the right backend yet. Until then, the current implementation is a pretty good stop-gap measure.

New Comment Moderation System

The first stages of the second generation comment moderation system are up. Right now it's a more advanced moderation page, plus a moderation page which will display all unmoderated comments, regardless of the post that they're attached to.

This way you don't need to keep on top of each post, you can just go to the "Moderate Recent Comments" page, It is, incidentally, usable for reading all new comments regardless of post, but that's not the intended use and it's not great for that.

There's plenty more to come, including registration of accounts, requiring registered accounts, etc.

Another feature for group bloggers

I added another feature for group bloggers: a page where the blog administrator can set the contact information for lazy (or busy) co-bloggers. It's available in the site-wide tab.

Also, fixed a minor cosmetic issue with the archive pages where the dates were being displayed sub-optimally.

Added the ability to insert html into the head

I just added a page which allows one to insert html into the head tag (the page is accessible from the appearance tab). This allows one to insert arbitrary javascript, etc.

Added Day Headers

I just added a feature which wraps all of the posts in a day in a div (class "calendaryday") and sticks as the first thing in it the day in an H2 tag (e.g. Wednesday, April 21, 2004).

That is, powerblogs can now immitate either Blogger or Movable Type in grouping the posts of a given day together and putting a heading indicating which day they're in. It's a Blog Preference which defaults to off.

Posted by Chris on Thursday April 22, 2004 at 1:09am. ()
Scheduled Posting

I've just finished and uploaded the scheduled posting code. It is now possible to schedule posts for publishing at an arbitrary future date.

I've taken advantage of the save-for-later code, so that a post which is scheduled to be published is merely saved for later with a schedule for its posting made. This way one just uses the regular ability to edit saved posts to edit scheduled posts (plus canceling a post just means deleting it from the saved posts).

I also have to give credit to Date::Manip for allowing me to accept dates in arbitrary formats like "Next thursday at 5am". For anyone who's a perl programmer, Date::Manip is a fabulous module if you need to take a date from a user (as the author himself says, though, it's far too slow for repetative parsing, such as in a tight loop).

Posted by Chris on Wednesday April 21, 2004 at 1:07pm. ()