Archive for the ‘WordPress’ Category

WordPress 1.5

Thursday, February 17th, 2005

WordPress 1.5 is out!! Can’t wait to switch to it. The list of features is unbelievably amazing.

Personally, I’m tired of all the comment spam. WP1.5 solves that by a simple blacklisting mechanism where you can shift users to a whitelist (so that the next comment they enter appears immediately), the rest are under moderation. If it is real spam, mark it as such and the next similar spam comment would be obliterated on arrival. Same goes for trackbacks (which I have currently disabled due to trackback spam). Simple, yet effective mechanism.

HTML Export feature for WordPress

Wednesday, January 5th, 2005

Here’s an idea I thought of today.

I’ve been using WordPress 1.5 beta to maintain a worklog and I came across a situation today where a ‘HTML export’ feature would have been useful. I basically wanted to send a detailed description of a problem to a colleague but didn’t want to send the URL of the blog itself (for obvious reasons). HTML export would have been useful because of all the formatting and other similar reasons.

We can extrapolate this idea to a HTML export of the whole blog where you can have a neat offline website in the form of a diary (or maybe even chapters of a book if you can imagine that) and send to others or simply use it as a backup. This is useful in case where I can’t have a Apache server or MySQL etc. but still want to use or send across the information.

Does this ‘feature’ sound useful ?

I imagine implementing the HTML export by simply specifying a stream to file as the output for PHP instead of the usual stdout. Some of the tricks that might need to be done include export/saving of CSS and images to the output directory so that the HTML export is complete.

In case, it does sound useful and if some gurus on the WordPress Hackers list are willing to guide me, I might write this feature. However, I haven’t written anything big in PHP till now.

( I originally wanted to post this on the hackers-at-wordpress-dot-org list directly but it is down at the moment )

Update

As you might have read in the comments section, I can achieve the same effect by writing a simple view.php where I can write the HTML and make the WordPress calls such as the_post() , etc. Why didn’t I think of that before? Duh. To reiterate, the best solutions are always the simplest ones.

LinkBlog

Sunday, January 2nd, 2005

I have now added a linkblog sidebar on this blog. It is actually a cached version of my del.icio.us bookmarks maintained by the delicious-cached WordPress plugin.

Some of the latest links I’ve added include Waiter Rant which is a humorous blog about the daily experiences of a waiter in a New York restaurant.

The linkblog is refreshed every half an hour. You can however subscribe to the rss feed directly if you want to keep up to date.

Comment spam sucks

Sunday, January 2nd, 2005

Forgive me for the ironic title, but I am getting spammed non-stop by some adult sites. I checked my mail today morning and I see more than 228 new comments on my site!! I had to delete them all by hand. Aah, the pains of becoming popular ;)

I immediately installed Dr Dave’s Spam Karma plugin for WordPress and it’s been working like a charm ever since. In less than an hour since its installation, it is eaten up more than 214 spam comments!

Dr Dave, more good karma for you :)