Some spring cleaning

This week I’ve been making a few changes around the blog from a new design to a new overall post structure.

There’s still some work to go on it so please bare with me for a couple of days :)

Project Piece is for sale

I have listed my Project Piece site for sale on Flippa. The listing is here, bidding is open for one month, and the buyout is $250.

For Sale on Flippa.com: Project Piece

New Wordpress plugin: YQL Auto Tagger

I like Dan’s Open Calais Auto Tagger plugin, but I found Open Calais wasn’t always quite returning the results I wanted when I used their service for specific sites.

YQL lets you send content and returns tags and they’ve been relatively relevant to the post, so I forked Dan’s plugin (with his permission of course), and modified it to use YQL instead of Open Calais, the end result was this small plugin.

With the YQL Auto Tagger plugin, you’ll never have to think of tags for your posts again. The plugin uses the Yahoo Query Language to perform semantic analysis of your post text and suggest tags for you. Add them to your post with just a click.

Based on the Open Calais Auto Tagger by Dan Grossman – http://www.dangrossman.info

download files

If you have posts that include the nofollow attribute on links, you may at some point decide to remove them. By default, WordPress doesn’t insert nofollow attributes in post content, but there are a variety of plugins that will insert nofollow into all links in post content. Or perhaps you have been manually adding nofollow tags to your post links for SEO purposes. Regardless of how they got there, it’s very easy to clean things up and remove all nofollow attributes from post content.

New article on The Dev Scene “How We Built GottaLoveBacon.com Using Twitter, PHP And YQL”

Over on QuickPipe, I just published a new tutorial called “How We Built GottaLoveBacon.com Using Twitter, PHP And YQL“. This tutorial uses PHP and YQL to connect to Twitter and perform a search for the #bacon hash tag and then display the results. Useful for retrieving data you can use via YQL, and just one example of what you can use it for.

small PHP function to add canonical URLs to each page

When I redid Foodizu a few months ago, I added canonical URLs to each page. The easiest to do this was with a quick PHP function:


<?php
function canonical_link(){
   $url = 'http';
   if ($_SERVER["HTTPS"] == "on") {$url .= "s";}
   $url .= "://";
   if ($_SERVER["SERVER_PORT"] != "80") {
      $url .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"];
   } else {
      $url .= $_SERVER["SERVER_NAME"];
   }
   if( isset($_SERVER['REQUEST_URI']) ){
      $url = $url . $_SERVER['REQUEST_URI'];
   }
   if($url){
      echo '
<link rel="canonical" href="'.$url.'" />'."\n";
   }
}
?>

to call this function you simply add in your header somewhere:


<?php canonical_link(); ?>

and it will display the canonical URL.

Playing with new tools

We have a compaq mini CQ10 floating around the office so I decided to try out some of the new OSes that are out there for netbooks.

Currently, I run Windows 7 on my main netbook, so I wanted to see how Ubuntu and Chromium run with it.

I made the decision early on to complete remove windows XP from the netbook, and use Ubuntu Netbook Remix as the main OS. Installation went pretty smoothly, and the only hitch was getting the wifi drivers to work, which really didn’t take much to fix.

Once you install UNR, make sure you go to System > Update Manager and update all. If it says there are no updates, go to “Settings”, and make sure you check the top 4 options under the “Ubuntu Software” tab. Once the updates are done, go to System > Hardware Manager, and your wifi card should show up.

I also installed Chromium on another partition. Chromium is the Open source release of Google’s ChromeOS, and so far it’s been nice to play with, but I’m not sure I’d use it as a main OS due to how long it takes for the wifi to start up (upwards of 10 minutes after you reboot). Also, while most of my work is done in the cloud, it’s nice to be able to unplug sometimes.

Also, being the avid ebook reader that I am, I made use of Wine and install the Kindle for PC application which runs pretty smoothly after you tell wine to run as windows 98.

Just a quick note about WP-Clickmap

WP-Clickmap has gotten a minor update today to allow it to install in wordpress 2.9.

Over the next few months or so, I’ve got some new features planned for that plugin, and will be adding it to the wordpress depository once I’m done with the upgrades.

Back to Top