Archive for the ‘SEO, Search, Google’ Category

Smarty SEO plugin: meta_tag

3rd April

2009

Carolv

Presenting the meta_tag plugin for the Smarty templating engine!

Click here to download block.meta_tag.txt

Click here to download outputfilter.meta_tag.txt

This plugin allows you to change the page title and meta tags from any template used to generate page output.

Purpose

Typical web page display scenario:

Web page “Home” consists of Smarty templates:

  • header.tpl – generic page header, HTML declaration, <HEAD> & <BODY> tags etc.
  • navigation.tpl - site navigation.
  • home.tpl – the main content for a given page, in this example “home”.
  • footer.tpl – the page footer – closing </HEAD> & </BODY> tags, javascript tracking etc.

In this example, the page title and meta data would be in header.tpl, whether as Smarty variables:

<title>{$page_title}</title>

…or hard-coded values:

<title>Hello world!</title>

Using the meta_tag plugin, title and meta tag values can be updated from any other template used to generate the page.

The following example contained in footer.tpl would add “Product description” to the page title:

{meta_tag type=’title’ method=’add’}Product description{/meta_tag}

The following example contained in home.tpl would replace the page title with the text “Important business report”:

{meta_tag type=’title’ method=’replace’}Important business report{/meta_tag}

The following example contained in footer.tpl would add the text “jacket,blue,leather” to the meta keywords:

{meta_tag type=’keywords’ method=’add’}jacket,blue,leather{/meta_tag}

So… what’s the point?

Often when you’re displaying dynamic data across several templates it isn’t practical to customise the page title and meta information using Smarty assign(). Also,the logic used in templates processed after the page header might contain information which would be useful to reference in the header.

Caveat

It’s preferable to call load_filter just once per output, BEFORE the instruction to display() or fetch():

$smarty->load_filter(‘output’, ‘meta_tag’);
$smarty->display(“template.tpl”);

In a scenario where multiple templates are used, they should all be contained within one container template, to ensure the output filter isn’t called repeatedly. In the above example, template.tpl might be:

{include file=’generic/header.tpl}
{include file=’generic/navigation.tpl}

{* load main page body – filename is contained within var $template*}
{include file=’`$template`}
{include file=’generic/footer.tpl}

Installation:

Click here to download block.meta_tag.txt

Click here to download outputfilter.meta_tag.txt

Change the file extension on both files to .php, then copy them to your Smarty plugins directory (smarty/plugins). Detailed usage instructions can be found in the comment block of each file.

Google Lively

10th July

2008

Lively, currently in beta, is Google’s answer to Second Life. The downloadable application allows you to create rooms, decorate them to your liking, then make and invite friends over. Of course, you’re far better off actually doing these things in real life, but if you have poor personal hygiene and/or no friends you’re sure to find it very rewarding.

Googlelively

Google says bye to 300 staff

4th April

2008

Following its acquisition of DoubleClick, Google is cutting 300 staff. More info from the Guardian.
Googleplex

Google takes on Wikipedia

15th December

2007

Search behemoth Google has announced a new tool to rival Wikipedia. Currently known as “knol” (it stand for a unit of knowledge, apparently), its object is “to encourage people who know a particular subject to write an authoritative article about it.” This sounds very much like Wikipedia, although some would argue that you need no nothing about a subject to be a Wikipedia contributor (despite credible evidence that suggest otherwise).

Google has yet to announce when the general public will get to experience “knol”, but you can find out more and see a screenshot of the prototype here.

Ask.com is rubbish

6th November

2007

Ask.com has launched a UK map service similar to offerings from Google and Microsoft. The postcode for our office brings up the following result:

Askmapsrubbish

Cheers Ask.com! So, Albemarle Way (London EC1V 4JB) is in the middle of the Gobi Desert? On a pair of Holly Johnson’s chinos? Oh, I despair! Ask.com, drop and give me twenty!

Google to take on Second Life

26th September

2007

Google is rumoured to be planning a rival to the 3D virtual world Second Life, scheduled to be launched late 2007.

If this is true (and this being the internet, you really never know), it’ll be a surprising departure for Google, a company that has built its reputation on solid, reliable, consumer-orientated online applications. Second Life, whilst undoubtedly a great money spinner for Linden Lab, is a controversial, marriage-wrecking, sad, barely-legal, addictive beast that keeps people from pursuing their non-avatar based, real lives.
Secondlife1-1

Microsoft Tafiti Beta

22nd August

2007

I’ve been playing around the Tafiti beta, which uses Microsoft’s Silverlight technology. The system is little more than a proof of concept at the moment, but I must confess, I’m impressed. It offers easy navigation between web, rss, image, news and book seaches, and boasts an interactive tree view (which is pretty much useless but looks fantastic).

Tahiti

Tahiti is my first Silverlight experience, and from first impressions, it seems identical from Flash from a user experience perspective. It remains to be seen whether it’ll prove to be a serious alternative in the long run.

Google keen on mapping mashups

11th July

2007

Following the appearance of thousands of Google Maps mashups, Google have introduced a new technology to encourage further user interaction. The “mapplets” (mini-webpages inside an IFrame) can be combined to create custom mashups: for example, you could display information on house prices, crime rates and cemeteries simultaneously, with built-in features such as driving directions thrown in for good measure.

The following YouTube video shows the system in use:

You can find out more about mapplets here:

http://www.google.com/apis/maps/documentation/mapplets/

More info on the Google Earth/Maps blog.

The service will be live to the public sometime today, following months of private beta.

Search result face off

13th June

2007

A website has recently launched that allows surfers to search Yahoo and Google simultaneously, providing side by side results for instant comparison.

The website, searchboth.com, has been developed by IdeaLabz.com who claim it to be a first. In view of the erstwhile existence of meta search engines such as dogpile.com, we presume it is referring to its somewhat innovative display view rather than the simultaneous querying of multiple search engines.
To be honest though, I can’t see it catching on…

Google trials face recognition

31st May

2007

As reported on Ars Technica, Google seems to have sneakily added some rudimentary face recognition filtering to its image searches.

Search for ‘ferrari’ and you’ll find, as expected, a multitude of images of Ferrari cars. However, append ‘imgtype=face’ to the end of the url string and see only images of people!

What will they think of next?

Google buys DoubleClick

16th April

2007

Search behemoth Google has acquired DoubleClick for $3.1 billion, following a bidding war with Microsoft, AOL and (allegedly) Yahoo!. The sale gives Google access to DoubleClick’s online advertising software and, crucially, its relationships with publishers, advertisers and ad agencies, including MySpace and The Wall Street Journal.

Google’s winning bid is almost three times the amount DoubleClick fetched when it went private in 2005 for $1.1 billion.

Google-1

Gmail finally out of private beta

8th February

2007

After over thirty years in private beta, Google’s Gmail is finally available to the general public. It’s a pretty good offering too: Gmail’s spam protection is pretty robust, and the 2.6gb of storage is more generous than accounts offered by Hotmail and Yahoo! Mail.

You can sign-up for a Gmail account here.

Microsummaries.org

1st November

2006

He-of-many-Riks Lomas has launched Microsummaries.org, an online resource dedicated to the Microsummaries feature in Firefox 2.

Microsummaries – next big thing or white elephant?

More information at:

http://wiki.mozilla.org/Microsummaries
http://wiki.mozilla.org/Microsummaries/Using

Google Docs

15th October

2006

Google have launched Google Docs, yet another online application. Merging Google Spreadsheets with Docs (originally Writely, purchased by Google earlier this year), the service is being billed as “Google Docs & Spreadsheets”. Not the most imaginative of titles, but Google Office is sure to be upon us within the next twelve months.

I can’t help but wonder: is there really any demand for this? If you’re not interested in or and can’t afford to use Microsoft Office, there are numerous options available, including the very capable OpenOffice.

Google appear hell-bent on taking over the world: they know what you search for, they’d like to listen to your conversations, control your email, offer maps and satellite photography, productivity tools…. a digital Kim Jong il?

Google to buy YouTube?

8th October

2006

Google seem set to purchase video sharing site YouTube in a staggering $1.6 billion deal, if rumours are to be believed. Google’s own video service has long played second-fiddle to YouTube, which is far and away the most popular video site on the ‘net; as Google like to dominate every market they operate in, it’s little surprise that they now have YouTube in their sites.

Google Image Labeler

3rd September

2006

Google have launched Google Image Labeler, a “game” created to help improve the quality of search results returned by Google Images.

It’s an intriguing concept: upon login, players are randomly paired and given 90 seconds in which to suggest keywords for a series of images. Points are scored when users suggest the same word.

Google’s objective is to use the data generated by this game to improve their search technology using human intelligence. Full credit to them: they’ve conjured up a strangely compelling game which will encourage an army of people to provide this valuable information for free!

Flight sim game using Google Maps API

5th August

2006

Goggles is a fun flight simulator game that uses graphical data from Google Maps. A great idea from Mark Caswell-Daniels.

Goggles

SitePoint SEO guide

26th July

2006

SitePoint have published “The Ultimate SEO Guide” – a comprehensive article covering the fundamentals of search engine optimisation, written by Shirley Kaiser.

The guide includes valuable, common-sense strategies for improving traffic and search engine rankings. From site build guidelines to copy suggestions, the article provides a thorough grounding in the basic principles of SEO.

It’s well worth a read if you’re new to SEO: it’s a little light on SEM (search engine marketing) and details on paid-for search engine rankings, but otherwise it comes highly recommended.

Yahoo! redesign launches

24th July

2006

Yahoo! have launched a radical overhaul of their site this week. The emphasis seems to be on usability and speed of navigation: the homepage still features a large amount of information, but it now appears in a more user-friendly, aesthetically pleasing format.

Disappointingly, the homepage does not validate, but it functions very well with no page styling. I appreciate that Yahoo! are at the mercy of advertisers, and their site needs to display a tremendous quantity of information, but one would hope they’d take a positive lead with accessibility and W3C standards.

New features of the Yahoo! site include:

  • Searching can now be narrowed to a specific area by clicking on tabs for images, video, audio etc. (similar to Google’s homepage which shows images, Google Groups, Froogle and so on).
  • Favourite items, information and searches can be stored in the navigation, accompanied by reasonably pleasing little icons.
  • A “Yahoo! Personal Assistant” can provide you with a quick, at-a-glance view of what’s happening in your (Yahoo!-orientated) world.

Yahoo

SitePoint interview Jakob Nielsen

19th July

2006

The popular SitePoint author Matt Mickiewicz has interviewed Jakob Nielsen, the usability evangelist (or usability fetishist, depending upon your perspective), on AJAX (deemed “irrelevant”), contextual text links (described as “disgusting”) and other related web technologies.

The full article can be viewed here, and it’s well worth a read. Nielsen is as provocative and opinionated as ever, but he does make some very valid points.

Online advertising plagued by bogus clicks

17th July

2006

The results of a survey conducted by Click Forensics suggests that more than 1 in 10 clicks on online ads is fraudulent. The latest figure of 14.1% is an increase on the previous estimated figure of 13.7 percent three months ago.

These figures are certain to alarm online advertisers, who spend countless millions building brands online. Whilst most major search engines are willing to refund those who can verify that bogus click-throughs have occurred, the burden of proof lies with the advertisers.

Google Checkout launches

29th June

2006

After months of speculation, Google have finally launched Google Checkout, their eagerly anticipated rival to the ubiquitous PayPal. As the feature tour demonstrates, the objective is to make online shopping as simple and user-friendly as possible: you search, click to buy, and the data stored in your Google account is used for payment and shipping etc. You can then track all your orders and shipping in one place (Google, obviously!).

I’m very wary of Google’s strategy to dominate the web. Granted, most of their services are free, but they can now know what you search for, control your email, know the contents of your calendar, and where and how you spend your money online. This data has great value to their advertisers, and consequently great monetary value to Google, but there are many ways in which they could potentially sell or misuse this data for the forces of evil (and no, I don’t care about their “informal” corporate motto).

PayPal is far from perfect, but they can keep my business for the time being.