Auto-tweet from WordPress with Petite URLs

[Patrick at Deferred Procrastination has got la petite url working with a WordPress Twitter updater.][link] This is a much-asked-for feature for [la petite url][la] itself.

[link]: “Auto-tweet from WordPress with Petite URLs”
[la]: “la petite url”


la petite url 2.0

[The long wait is over, and la petite url version 2.0 is out the door][link]. WordPress users with auto-update can update at-will, and users who haven’t installed it yet (what’s wrong with you?) [can get it here][wp]. Major changes include: An awesome new options panel, much faster redirects, removing of the old registration for the new one, and a sidebar widget.

[link]: “la petite url”
[wp]: “la petite url on”


Tumblr Joins In Implementing Twitter API Features

[The new features][link] allow users to [post and read friends posts][wp] via Twitter clients such as Tweetie and Twitteriffic. This is very clever.

[link]: “Tumblr Uses Twitter API”
[wp]: “WordPress’ Twitter API Demo”


“Download failed.: Could not create Temporary file”

I’ve been getting this error in WordPress, so I wasn’t using the auto-update functionality, which is a real time-saver. My problem was that WordPress was trying to write to `/tmp/` which is a no-no as my host ( uses Safe Mode. You can solve this issue by adding a couple of directives to your `wp-config.php` file, namely `WP_TEMP_DIR`. Adding these lines to `wp-config.php` fixed the problem for me:

define(‘WP_TEMP_DIR’, ini_get(‘upload_tmp_dir’));
putenv(‘TMPDIR=’ . ini_get(‘upload_tmp_dir’));

Thanks to the WordPress forums [for my answer][link].

[link]: ” WordPress › Support » Upgrade tries to write to root”


URL-Shortening Service To Shut Down

[URLs will continue to function until 31 December 2009 and will then go dead][link]. Yet another reason to use a self-hosted short URL service with a system like my own [la petite url][la].

*Update:* [ has reversed it’s decision to shut down][reverse].

[link]: “ URLs | to December 31, 2009”
[la]: “la petite url, a personal URL shortener for WordPress”
[reverse]: “ Apparently Not Shutting Down, Now”


Using WordPress Functions Outside of WordPress

I’m working on a project that requires the use of [Wordpress][word] functions (mainly creating users and such) outside of the WordPress installation. After some Google searches of varying specificity, I’ve found a method that appears to work for both WordPress and WordPress Mu. I’ve reproduced it here for my own purposes, as well as yours.

[word]: “WordPress” member oranfry [posted the following helpful bit of code][wporg], to be inserted in the top of the `wp-load.php`, right after the `


Introducing Diggbarred, a WordPress Plugin for Blocking the DiggBar

As a big fan of telling people when they’re Doing It Wrong, I’m happy to announce Diggbarred. Diggbarred is [a new plugin][link] from myself and [Shawn Medero][shawn], using [John Gruber’s original blocking code][john] in an easy-to-activate form. You can [fork, modify, or otherwise mutilate the code on Github][git].

[link]: “Official Diggbarred Page”
[john]: “How to Block the DiggBar”
[shawn]: “Shawn Medero”
[git]: “Diggbarred on Github”