Google Insights: A New SEO Tool for Keyword Research

In their efforts to become more transparent about their search and search habits, Google recently released, Google Insights, a new that can be used for web developers and those performing SEO optimization gain better prospective on target keywords, and aids in keyword research. Previously most search term and keyword research has been done by specific keyword research tools, including Google’s AdWord Keyword Tool. The keyword tool helped determine which target keywords or phrases are stronger, providing those performing SEO optimizations a determination for stronger or weaker keywords and alternate phrases to target.

Although the Keyword Tool is helpful, it data is limited in scope and is targeted to those using the AdWords application. Insights is a more detailed tool for keyword research. With Insights you are able to see the strength of your keyword over time, potential target markets, relevant search terms (as with the Keyword Tool) and search terms that are on the rise. For SEO optimization this is really helpful and important.  Using the keyword Web Designer, I want to take a brief look at Google Insights.

Google Insight Demo

Click for the full image

The information provided, however, is not raw data. Instead Google displays the strength of each keyword on a scale of 1 – 100 (Google explains their methods here in detail). Using the example above, I would like to help translate the information. Displayed first is the keywords overall strength. In the example above, they keyword Web Designer has an overall strength of 70. The chart beneath it represents the keywords strength over time, from 2004 to current day. This can be customized for shorter time periods, any specific year from 2004 – 2007 or a rolling 30 day, 90 day, 12 month intervals. Underneath is regional interest which displays the strength of your keyword compared to various locations. If you are a Web Designer in Nepal you seem to be in very high demand!
Continue Reading »

Lightbox: Image Overlay on Webpages

Lightbox is a great image overlay effect that can be used for standalone image effects, galleries. The script fades the site background to and displays the image over the website. Here’s an example below:

Lightbox Demo

The most current version of Lightbox is Lightbox v2.04, but there is a Lightbox 1 which performs a similar task. The differences between the two versions is the use if the Prototype Framework and Scriptaculous Effects Library in version 2.

Using Lightbox

Using Lightbox is really simple but only works with images or text. It relies on the use of the rel tag in the <a> tag. Before using Lightbox, you must install it. To install lightbox (after downloading it and uploading the files to you web server), you must include its three javascript files to your header with the <script> tag.

<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>

Next add the Lightbox CSS file by using the <link> tag or merge it with your current CSS file:

<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

After installing and linking the necessary files to the pages you intend to use Lightbox with. This is done by adding the rel=”lightbox” attribute to your <a> tags. You can also use the title attribute to display a caption with your image. Here is how the code for the demo above looks like:

<a href="http://images.nexeusfatale.com/demo/lightbox-demo.jpg" rel="lightbox" title="Lightbox Demo Image"><img src="http://images.nexeusfatale.com/demo/thumb-lightbox-demo.jpg alt="Lightbox Demo" border="0" title="Lightbox Demo Image"/></a>

One option, if you are using a PHP generated page is to create a header file and use include() to have access to lightbox on every page.

Alternative Solutions

Lightbox is a really simple and easy way to add functionality to your designs. There are several alternatives to Lightbox that provide the same or expanded functionality and are more flexible with media (such as Flash objects or more dynamic photo galleries). Thickbox is a jQuery alternative, which works with single images and galleries, as well with AJAX, IFrame and Flash content.

Lightbox in WordPress

For those using WordPress implement Lightbox may present a bit of a challenge. There is however two plugin’s that you can use, the first is Giuseppe Argento’s implantation of Lightbox 2, which is merely a plug-in version of the Lightbox 2 code, I use this plugin on this website. There’s also Rupert Morris’s implementation of Lightbox 2 which is an updated code set that features some automatic features (i.e. automatic lightboxing of images, automatic titling, arrow key implementation) .

Managing Recent Posts in Word Press

One problem I came across in making the theme “So Fresh So Clean” (to be discussed in a future blog post) was attempting to display a list of my recent blog posts without needing to use a sidebar widget. The theme is influenced by many different web designs, but borrows a few concepts from Dave Shea’s website Mezzoblue. The idea came from the book Building Findable Websites: Web Standards SEO and Beyond. In the section Displaying Your Most Recent Posts, Aaron Walter discusses Dave’s technique for displaying one post on his front page, and a list of the most recent posts in the top section of his website. Dave suggests that in order to do this you can use the following code in the WordPress loop:

<ul id="recent-posts">
<?php $posts = get_posts('numberposts=5&offset=1');
foreach ($posts as $post): ?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>

While this code does work, it can be problematic, the get_post() query overwrites the WordPress default variables. This means if you run any other loop specific code (i.e. the_title, the_content, the_date, etc.) they will all be affected and many not produce desired results. In my initial testing every page that used The Loop was getting it’s information from the get_posts() query as it overwrites WordPress’ default queries for pages, searches and archives. Thus they all displayed the same information.

After some searching I found a solution for the problem, creating a new WP_Query() object so that it doesn’t interfere with WordPress default functions. Here’s an updated example of the code presented above using this technique.

<ul id="recent-posts">
<?php $recent_posts = new WP_Query(); $recent_posts->Query('showposts=5@offset=1');
while ($recent_posts->have_posts()) : $recent_posts->the_post(); ?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ul>

If you want something a bit fancier, here’s how I created the recent posts section using the same technique.

<div id="recent_posts">
<h2>Recent Posts</h2>
<?php $recent_posts = new WP_Query(); $recent_posts->Query('showposts=5@offset=1');
while ($recent_posts->have_posts()) : $recent_posts->the_post(); ?>
<div class="recent_date"><?php the_time('m.d.Y') ?></div>
<div class="recent_post_title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></div>
<br />
<?php endwhile; ?>
</div>

A deeper discussion in how to do this is on the Weblogs Tools Collection (where I found the solution). The lesson here is, in order to avoid conflicts with WordPress default functions, plugin, and countless other issues, create a new WP_Query(); object.

Introductions are hard!

I struggle with online introductions. It’s much easier when performing introductions in offline social spaces. You get to ask questions, receive responses and develop a dialog, usually while drinking some sort of beverage. An introduction for a blog, yet alone my personal blog is an unscripted monologue that requires me asking several questions. Where do I start? What do I say? Who the heck am I? Why am I doing this? What do I plan to achieve? And what’s my favorite type of pie? The best way to begin is to answer these questions in order.

Where do I start?

In the beginning. Hopefully I’ll be able to get to the middle and then reach the end. If I fail along this trek, then this post is not only a waste of your time but mine and I don’t provide refunds on wasted time (sorry).

Continue Reading »