UPDATE: Please head on over to the new home of my plugin: TWITTERUPDATER.COM this post here will not be updated any longer!!!
So, I found this cool plugin posting updates to twitter once you wrote a new blog post (or edited an old one). It’s pretty nice and can be found on the authors, Victoria Chan, site here (v1.1).
Jonathan Dingman then released an update adding tinyurl support (v2.0) which can be found here.
I just edited this v2.0 and replaced the tinyurl-support with support for the new url-shortening service ZZ.GD which results in even shorter short-urls saving more space in the tweet in case a post title is longer…
My new version (v2.07.1) can be found here (please read edits below for more information!!!): Twitter Updater v2.07.1
- Possibility to include post’s category in tweet
1. Download the plugin (see above link.)
2. Unzip the compressed file to your hard drive.
3. Upload the Ã¢â‚¬Å“twitter_updaterÃ¢â‚¬Â folder to your wp-content/plugins folder.
4. Browse to the Plugins page under wp-admin and activate the plugin.
5. Setting the options: Browse to Manage->Twitter Updater.
6. On this page, you can set any options you would like to.
7. IMPORTANT: Make sure you enter your Twitter username and password, then click on “save login”Â
8. That’s it! Now your Twitter.com status will be updated every time you publish a new post.
Edit (July 15th 2008): Just a quick note…the recent release of WP 2.6 has messed something up. While the plugin continues to work fine in WP version 2.5.1 and older, it keeps firing two updates (one with an invalid zz.gd-short-url) in WP 2.6. I’m going to investigate…stand by for news…and hopefully a quick fix.
Edit #2 (July 15th 2008): I’ve identified the culprit…WP2.6 uses post-revisions (saving multiple instances of the post using autosave)…hence the multi-tweet…working on a fix now…
Edit #3 (July 15th 2008): It’s indeed the post-revisions thing, but the quick workaround I tried (disabling post revisions after all) has had some major side-effects (namely edits of posts were not saved anymore)…so I really need to address this issue by checking the post status and ignoring revisions…fix probably coming tomorrow…for the time being please just manually delete the first auto-tweet.
Edit #4 (July 17th 2008): Sorry about the delay, but my computer fried itself today, so I had no time to fix it yet…exciting news forthcoming…as hopefully the fix…stay tuned.
Edit #5 (July 17th 2008): This little plugin has it’s own twitter source parameter now…so it’ll say “from Ingoal’s Twitter Update” instead of “from web” from now on…you can grab the latest version, version 2.02 above…version 2.03 with the bugfix (double-tweet) is still forthcoming…
Edit #6 (July 22nd 2008): Sorry about the delay…but I had something else going on, so it took me a while to write the fix. I deleted some of the options, from now on out you’ll have the update choice to auto-twitter when posting a new post (with or without link using zz.gd) and auto-twittering when editing old posts…that’s it. Compatible to WordPress version 2.6! So if you’re running WP 2.6, please update to version 2.03!!! …and if you’re running WP 2.5.1 or older, please continue to use version 2.02!!! Hat tip to microkid for his hint about identifying WordPress post revisions and auto-saves!!!
Edit #7 (July 27th 2008): Fixed the post-title issue. In the prior version post titles were truncated if they included an ampersand ( & )…this is fixed now…please update.
Edit #8 (July 29th 2008): Introduced alternative method to retrieve the shorturl from zz.gd (using curl)…please update if you had problems (error message, empty shorturl) and make sure you have a look at the twitter updater page (manage) -> check the new checkbox! If you didn’t have problems you don’t need to do anything…
Edit #9 (August 04th 2008): Introduced a cascading in the shorturl generation. After zz.gd was down the last two days due to server issues, ppl using the plugin were stuck with empty shorturls. To rectify that situation and keep it from happening in the future the cascade of zz.gd — tinyurl.com was introduced. If zz.gd is down, the shorturl will be generated using tinyurl.com. Other cascades might be added in the future, but for now, this one seems to be more than enough.
Edit #10 (October 18th 2008): So…Marco “Saphod” Luthe put up a modded version of the 2.06 version that fixes the future post (and save post) issues. I took the liberty to rename his modded version 2.06 to version 2.07 and I’m officially releasing it here. Thanks again Marco! All you users and readers out there feel free to drop by his site to thank him for the fix…and happy tweeting/twittering….
Edit #11 (November 1st 2008):Corrected tinyurl api url, so that if you’re using tinyurl instead of zz.gd you’re getting the correct short-url…