Even though I’m not a javascript noob, I still manage to learn something every day. To see if a popup windows has opened, the return value of the window.open call in javascript must not be equal to null. Simple and effective. linky
Category Archives: web
Mongrel: the cat's out of the bag
Allrighty! The cat is out of the bag. Zed Shaw, creater of the Mongrel web server, has finally snapped! He’s always been a funny sort of guy, and I really do appreciate his style. Also, Mongrel is a fantastic web server even though I am using LiteSpeed myself. Anywho. Check out this rant from good ole Zed. Ouch! Brutal!
New dnsbl_check version coming
I am happy to announce a new version of dnsbl_check is underway. I’ve had some feedback about false positives and I have seen this happen myself now once. My proposed solution is to check to see if the method `logged_in?` returns true. When that’s the case, obviously the current user is OK and the filter should pass.
The method name is a defacto standard for Rails apps, but if you don’t have it you can easily create it in ApplicationController. This way you can wire it up for your site specifically (e.g. you have a Subscriber model that does the hard work, like I have with GO Magazine).
I am currently very busy but will release the new version in a little while.
WordPress plugin: excerpts deluxe
Today I’ve written a small plugin that displays excerpts in WordPress with style. Download it here.
Continue reading
How to fix is_home() in WordPress 2.1+
WordPress introduced a great feature in version 2.1: a static home page. Twas the feature that made WP a viable CMS. But unfortunately it broke the internal is_home() function. Here’s how to patch that.
Continue reading
Cool tools
For web developers, there are so many cool tools right now it’s not even funny. Here are just a few.
Continue reading
Custom wordpress title
Today I released my first public WordPress plugin: Custom Title. Just a tiny plugin that allows you to change the html title of any WordPress page.
Continue reading
Rails
This post is here to test my new plugin.
The plugin displays a list of pages in the same category as the current slug.
If a list is displayed under this post, it appears to work quite nicely!
Extending tinymce in WordPress
This post will tell you how to enable the ‘advanced’ editing mode of TinyMCE in WordPress. It works via a plugin so you can safely upgrade WordPress!
Seven reasons why web apps fail
Joshua Porter makes some excellent calls on why web apps fail. I agree with all of them (and his follow-up post).
Continue reading