September 27th, 2011 Hayden Digital Launches LSB Cycles Online Shop

It’s been a while since the Hayden Digital portfolio has been updated, and there are several sites which have been launched over the past few months, but I just had to mention LSB Cycles!

After a few months in development the site has now gone live – check it out at http://www.lsbcycles.co.uk/

LSB Cycles uses a number of custom Ajax and jQuery based tweaks including real time search filters. It also supports multiple currencies with automated exchange rate updates, Google Shopping integration and a complete order management system, with delivery prices calculated based on weight and shipping destination, to anywhere in the world.

November 2nd, 2010 Hayden Digital – Now available in 48 languages!

The latest version of the Hayden Digital CMS system is now available, and supports automated translatation via Google’s Language API.

Unlike many other multilingual CMS systems this works in the background on the server side and caches all translations to the database so that translations are instant once cached by the first visitor.

The full UTF-8 character set is now implemented and any mis-translations can be quickly corrected via the easy to use administration area.

Get in touch for a demonstration!

September 7th, 2010 Hayden Digital develop Bespoke Content Management System for Actuated Solutions Limited

Actuated Solutions LimitedHayden Digital are delighted to announce the launch of their latest project for Bognor Regis based Valve Automation Solutions provider Actuated Solutions Limited.

A full content and document management system was integrated with a bespoke design to allow their customers easy access to technical documentation, and make editing website content and promoting their latest products and services as painless as possible for all members of staff.

Here’s what Actuated Solutions had to say about their experience while working with Hayden Digital:

Working with Hayden Digital has been a breeze and we are really pleased with the final product. We now have a great looking site and a content management system that allows us to update whenever required.

- Chris Hickey, Actuated Solutions Limited

Visit the Actuated Solutions Limited website.

July 18th, 2010 A simple PHP class to access the Google AJAX Language API for text translation

I recently wrote a quick PHP class to do some content translation via the Google AJAX Language API, and thought it may be useful for others.

It is by no means a complete class for the API, and in fact only uses one of its methods (language.translate).

The ‘AJAX’ part of the API name is also mis-leading in this case, as we will not be sending an AJAX request or even using and Client Side code – but rather using CURL on the server side to access the API and then dedode the JSON objects using PHP.

I would recommend extending it to include some kind of file or database driven caching system if you will be using it on a high traffic site or translating entire web pages rather than just snippets. Also be sure to abide by Google’s Terms of Use

Here it is:

<?php

/**
* Translate text via the google translate API
*
* @version 1.0
* @author Chris Wheeler <chris@haydendigital.com>
* @copyright Chris Wheeler
* @date: 2010-07-15
*
* Usage:
*
* $translator = new googletranslate();
* $translator->translate('en', 'fr', 'Hello World!');
*
* Full list of supported languages is at http://code.google.com/apis/ajaxlanguage/documentation/reference.html#LangNameArray
* GOOGLE_SEARCH_API key should be defined with a valid Google Search API key for the domain
*
*/
class googletranslate {

  /**
  * POSTs the text to be translated to the API
  *
  * @return String
  */
  private function postmessage($url, $text){
    set_time_limit(30);
    $curl = curl_init();
    curl_setopt($curl, CURLOPT_URL, $url);
    curl_setopt($curl, CURLOPT_HEADER, 0);
    curl_setopt($curl, CURLOPT_POST, 1);
    curl_setopt($curl, CURLOPT_POSTFIELDS, "q=" . urlencode($text));
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($curl, CURLOPT_TIMEOUT, 30);
    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
    curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 1);
    $response = preg_split('/' . chr(10) . '/', curl_exec($curl));
    if ($error = curl_error($curl)){
      throw new Exception('CURL Error: ' . $error);
    }
    curl_close ($curl);
    return implode($response);
  }

  /**
  * Translte
  *
  * @return String
  */
  public function translate($from, $to, $text) {
    try {
      if (strlen($text) == 0) {
        throw new Exception('Empty string.');
      }
      if (strlen($text) > 5000) {
        throw new Exception('Text to be translated is too long.');
      }
      $url = 'http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&langpair=' . $from . '%7C' . $to . '&key=' . GOOGLE_SEARCH_APIKEY . '&userip=' . $_SERVER['REMOTE_ADDR'];
      $jsonresponse = $this->postmessage($url, $text);
      $response = json_decode($jsonresponse, true);
      if ($response['responseStatus'] == 200) {
        $responsedata = $response['responseData'];
        return $responsedata['translatedText'];
      }
    } catch (Exception $e) {
      // Handle errors if required
    }
    return false;
  }

}

?>

July 6th, 2010 Hayden Digital Redesigns MarketingTeacher.com

Marketing Teacher approached Hayden Digital to refresh the look and feel of their online marketing resource site. The website contains a vast number of free lessons, exercises and resources for marketing students around the globe. Consisting of over 250 content pages and with a large portion of the sites traffic coming through search engines and inbound links it was critical that URL changes were managed with traffic in mind.

Each page was assigned a new more consistent and search engine friendly URL and all redirections were managed with 301 redirects to ensure not a single hit was missed, and the huge amount of PageRank the site had accumulated over the past 10 years was not lost.

The new website went live at the beginning of July – Take a look!

March 26th, 2010 New Web Server Online


We are pleased to announce the addition of our latest server, a brand new Intel i7 Quad Core server with 8GB of DDR3 RAM and 1500GB of Disk Space in a Mirrored RAID configuration.

The new server is the newest adddition to our server Cluster and as with all our servers it will be running daily backups, stored on multiple servers within the data center as well as weekly off site backups.

All Hayden Digital hosting servers are provided exculsively to our design and development clients, and are UK based to provide maximum speed and minimum latency to your website visitors.

February 17th, 2010 Dual Monitor Wallpaper Freebie

I was working with the excellent Vector Circle Brushes from Naldz Graphcs and thought they might make a good basis for a desktop wallpaper – after a little experimentation I got to something I was satisfied with!

The first two are designed for monitors running at 1920×1080:

And the second two are for 1650×1050 desktops:

They also work nicely side by side on dual-monitors! Feel free to use and distribute these however you wish.

January 13th, 2010 Using Gmail Notifier with HTTPS enabled

Google recently made all Gmail accounts default to ‘always use HTTPS’ - meaning that all web mail sessions are now forced to use https for both logging in and while viewing and composing emails. While this is great for security and a welcome change, the Gmail Notifier application for windows by default uses plain old HTTP to check for new messages. Once HTTPS is enabled it can no longer connect.

The solution for this is a registry patch, provided by Google themselves which changes the URL the notifier uses.

The patch is available at direct from Google and the related support article is located here.

I’m not sure why they haven’t simply added this as an option within the application, or designed it to autodetect.

December 18th, 2009 We’ve moved!

New year – new offices!

As of the 1st of Janurary 2010 we will have moved into our new offices in Littlehampton. Our new address is:

Hayden Digital
Unit 11, Thorgate Road
Lineside Industrial Estate
Littlehampton
West Sussex
BN17 7LU

We’ve also got a new hone number (01273 25 20 20). Our old phone number will continue to work until the 31st of December, and our post will be forwarded from our Chichester address so there is no need to worry about sending something to the wrong address.

Merry Christmas and a Happy New Year to all.

December 14th, 2009 Hayden Digital powers Horizon Leisure HTML newsletter

Earlier this month Horizon Leisure sent out their latest newsletter, designed and powered by Hayden Digital’s newsletter management system.

horizon-newsletter-blog

Our newletter management provides detailed reports on the number of bounces, opens, which links were clicked and by whom and much more. It also integrates with your Google Analytics account so you can track sales and leads generated from your newsletter campaign.

horizon-newsletter-report-blog

Please don’t hesitate to get in touch if you think your business could benifit from an HTML newsletter, or if you would like to let us manage your current newsletter.

Copyright © 2009 Hayden Digital. Blog powered by WordPress