PreFormatted Plugin
I’ve just finished the beta version of the “PreFormatted” WordPress plugin. Basically, it stores posts & comments in their final, formatted form rather than processing them every time a page is loaded. It provides only a modest decrease in page rendering times, but that’s not it’s real purpose anyway.
WPFF lacks some of the nicer features of WordPress, including polished post formatting. But if the WordPress back-end pre-formats everything, then WPFF size and speed can be maintained without any extra cost! So this really is a WordPress plugin that makes WPFF look nicer. The bonus is that you can use it even if you don’t use WPFF…
I just switched on the new plugin today - this is the first post to use it. You can learn more on the new PreFormatted plugin page.
Wow! I Was wondering what was keeping you busy these days :)
Hope to be able to find the time to try it tomorrow. Uhm, you could also offer an "advanced" mode by adding a column in the db to save the original source...
ludo — 23-Feb-2005 15:48“Work” and “life” keep me busy most days, but I did find some free time to work on this. :)
I kept the plugin simple so that it integrates nicely into both WordPress and WPFF. I thought about adding a field (or another table) but that would mean some dramatic changes. I’ll leave that thought for your back-end redesign.
You’ll need to patch WPFF to get new comments formatted nicely. I’ve added some WP formatting code into my version of beta2 but it’s an ugly hack at the moment. Maybe you can add a hook to insertComment() for comment formatting?
jerome — 23-Feb-2005 17:56Just uploaded a new improved version of PreFormatted that fixes some glitches when editing a preformatted post/comment.
jerome — 24-Feb-2005 13:28