There are a few things I enjoy other than web development. I love SEO, and Law also; having never found enough time to tackle either, I like to keep my eye in whenever something crops up. Something that SEO and …
Author Archives: Douglas Radburn
Law and the internet
Redirecting to Plesk’s default site
I have Plesk installed on my web server. 1and1 helpfully redirect all subdomains (wildcard) at a the server when you register the domain. This means that you can add subdomains straight to Plesk without having to register them through the …
Using Open Graph Protocol in WordPress for Social Integration (Facebook)
What is the Open Graph protocol The Open Graph protocol enables integrations of your web pages into the social graph. It is promenantly used by the Facebook Platform. Whilst the development has been undertaken by Facebook, they’ve built on top …
Google Maps API Keys
Every now and then, I need a Google API Key for use with the Maps service. Looking at the page, it’s recently changed to some fancy AJAX, and makes a JSON request to the following address http://code.google.com/apis/maps/signup/createkey?referer=http%3A%2F%2Fwww.domain.com This means that …
Shell script to create new site template
Having a dedicated Linux box without any form of control panel on it is becoming the norm for me. To help me out, I created a small shell script to create the necessary files in the right places. It takes …
String replacement with SQL
Quite often, especially when working with WordPress sites, I need to update content with a new web address. This happens when a site has been on a preview domain whilst being populated, and WordPress likes to put absolute paths in …
String replacement in Smarty templates
Usually, all data should be ready for display by the time it hits a smarty template, as it’s a presentation layer. However, from time to time, there is a need to perform tasks on the data before you display it. …
Working with Yahoo! Maps Service
I did some work with the Yahoo! API recently to process CSV files of addresses to find longitude and latitude. The final code takes a CSV file, processes it, and then returns a CSV file with longitude and latitude fields …
Using custom taxonomy when getting posts with WordPress
Using custom taxonomy in custom post types means that you can add categories, or tags to your custom posts. This can be achieved with code like the following – added to your custom post type plugin or via the custom …
Sorting order using a custom field in WordPress
I’ve been working recently on the portfolio section of this blog. It uses a custom post type I created that I’ve got installed as a plugin. One thing that always concerned me was ordering. When you create a page, you …
Recent Posts
- Magento and a free shipping option for Google Checkout
- Getting category thumbnail images with Magento
- MySQL issues from apt-get update
- How to get number of cart items in Magento
- Think Visibility September 2011
- Where has apache2-ssl-certificate gone?
- Viewing another users’ Crontab
- jQuery UI Tabs and the Stylish Select Plugin
- Upgrading PHP
- WordPress MU on main domains