Web Feet Blog

Snow joke… JS Falling Snow technique….

Posted on December 2, 2013 by

Within a week of launching the new web-feet site we decided to implement a changing theme for the banner (to change with the seasons). We had already developed clouds to float across the screen in summer, but we needed some rain and snow for winter and autumn…

So I turned to google to find a canvas html5 solution, and ended up implementing my own script.

Here is the result for the snow on jsfiddle (http://jsfiddle.net/k7RHs/10/).

As you can see the result is very pleasing and the snow also slowly “settles” at the bottom of the element in which it is contained.

If you would like this effect on your site for christmas then get in contact!

Happy Christmas!

 


Magento SEO PHP Product, Category Descriptions and defaults

Posted on November 1, 2013 by

Struggling to generate meta keywords or descriptions automatically on your Magento category and product pages? This blog should help you through the code needed.

Magento is great for many things and from an SEO development point of view it is pretty good but not perfect. Our SEO maestro wanted me to implement some code that if there was a product description it would use that to populate the meta description. After doing some searching, I came across this blog post. This gave me a good starting point but I also needed to do this for category pages as well and our set up required that I looked into a couple of other things. The main issue was that we had populated the default meta description and keywords already so the code needed to check if the keywords for the product where not empty and not equal to the default before deciding what to do.

The code I ended up with is placed in the page/html/head.phml of the theme we are using:

<?php
$desc = strip_tags(trim($this->getDescription()));
$kw = trim($this->getKeywords());
$title = strip_tags(trim($this->getTitel()));

 if (Mage::registry('current_product')) {
   $desc = $this->getTitle(). ' '. strip_tags(str_replace("<br />",", ",substr(Mage::registry('current_product')->getDescription(), 0, strpos(Mage::registry('current_product')->getDescription(), '.')+1)));

   $desc = substr($desc, 0, 150);

   if($title = Mage::getStoreConfig('design/head/default_title') || $title == Mage::registry('current_product')->getDescription())
   {
 
     if(strtolower(substr($desc, 0, strlen($title))) !== strtolower($title))
     {
       $title = Mage::registry('current_product')->getName().' '.strip_tags($desc);
     }
   }
 
   if(empty($kw) || $kw == Mage::getStoreConfig('design/head/default_keywords'))
   {
     $kw = $title.','.$kw;
   }
 }
 
 if (Mage::registry('current_category')) 
 {
   if(empty($desc) || $desc == Mage::getStoreConfig('design/head/default_description'))
   {
      $desc = $this->getTitle(). ' '. strip_tags(str_replace("<br />",", ",substr(Mage::registry('current_category')->getDescription(), 0, strpos(Mage::registry('current_category')->getDescription(), '.')+1)));
      $desc = substr($desc, 0, 150);
   }
   if(empty($kw) || $kw == Mage::getStoreConfig('design/head/default_keywords'))
   {
      $kw = $title.','.$kw;
   }
 }

// ... do what is necessary <title..., <meta name="description... etc
?>

As you can see from the code ; there are quite a few checks and replacements going on to ensure html is not passed through to the head items and also to ensure there isn’t too much duplication of the product name in the description.


Helen’s Work Experience at Web-feet

Posted on September 12, 2013 by

As a temporary worker at web-feet, completing my work experience here, I have really enjoyed work. It has been different but better than how I had imagined it!

Everyone is friendly and easy to talk to and I have had fun with the work I have been given.

I particularly enjoyed coming up with design ideas for ‘Industrial Boilerhouse Supplies’ and learning about and being creative with designing ideas for parallax scrolling on the web-feet website. I am excited to see how my designs look like when they are finished!

I have really liked web design and I know that I can now leave work with valuable experience which I’m sure will be of great importance to me in the future, so thank you web-feet!


Content Delivery Networks (CDN) and Web Development

Posted on September 12, 2013 by

Cloud Computing – everyone hears a lot about this these days, quite often with regard to office applications and file storage. I don’t think that many people have given too much thought to how this might fit with their websites just yet. Traditionally, websites are hosted on one or more local servers and for most applications this works well. To ensure a website experience is fast and optimal for the end user however there are other considerations for large e-commerce sites, websites with lots of bandwidth intensive content or sites with a global audience. This is where the concept of Cloud Computing and CDN’s comes into play.

Basically, CDN’s speed up the delivery of content, from your website, to an end user as fast as possible using a globally diverse network of content servers. So, rather than content be delivered from a single server in a fixed location, content is delivered from a server or network of servers, much closer to the person viewing your website – a properly configured website can also ‘parallelize’ this stream of data so that it arrives much faster than if served from a single location or server.

For instance, images can be pulled from one server whilst website code is pulled from others, all at the same time, much closer to the end user. If you have someone browsing your site in Hong Kong, a server or servers local to this location will be used to deliver content, this can happen at the same time as someone browsing in New York is having content delivered to them from servers on the East Coast of America, all at the same time, all in parallel. This basically means that wherever your users or customers are browsing your site from, they will get the best and fastest browsing experience possible.

The reason this is important is that speed is a key attribute to the success or popularity of your website, for search engine rankings and for the user experience, it makes your site more sticky than someone else’s.

In terms of cost, this type of solution isn’t as expensive as it sounds as most are based on traffic volumes and not hardware. Therefore you pay a reasonable cost for bandwidth rather than have to buy a global network of servers. Essentially you are leveraging an existing ‘cloud’, Amazon for instance, are a key player in this space.

In summary, this may be a slightly niche solution at the moment and is probably only cost effective for certain website and applications, it is however an exciting way forward in terms of staying ahead of the game for key global players.

If you are interested in talking to us about this or any other type of solution, we are always happy to chat.


New Website Update

Posted on September 3, 2013 by

Initial feedback has been great, we are actively adding additional pages to the site – keep an eye on our new services pages such as our responsive page, quote builder page and PCI DSS page.


New Web-Feet Website Launched Today!

Posted on August 29, 2013 by

The Web-Feet team are very proud to announce our new responsive design website using Bootstrap and on our own content management system.

We love the new look and design and hope you do to, we have incorporated a lot of unique design features and the latest development techniques – we’d be delighted to discuss your own requirements and offer you our expert opinion.