No Mod Required

Archive for the 'google' Category

Google Doctype - First Pass? Very cool.

Google Doctype, as introduced by Mark Pilgrim:

The open web is the web built on open standards: HTML, JavaScript, CSS, and more. The open web is a beautiful soup of barely compatible clients and servers. It comprises billions of pages, millions of users, and thousands of browser-based applications. You can access the open web with open source and proprietary browsers, on open source and proprietary operating systems, on open source and proprietary hardware.

Google has built its business here, on the open web, and we want to help you build here too. To that end, we are happy to announce the formation of an encyclopedia for web developers, by web developers: Google Doctype.

Google Code Blog: Introducing Google Doctype

Personally, I’m excited by this development (both practically and philosophically) and will likely contribute wherever it makes sense for me to lend a hand. Looking at it quickly some of the HOWTO information is already very useful (the web security information especially) and it will only improve with time as more and more dedicated people get involved with the project.

I Messed Around and Made an iGoogle Theme

igoogle theme

It was really pretty easy. I submitted it. Lord knows if they’ll accept it, but even if they don’t it won’t stop me from doing another one :)

Interested in doing one yourself? Google has an excellent developer’s guide.

New iGoogle “Artist Themes”

Being the cycling nerd that I am I added the Lance Armstrong one, but there are a ton of great new themes.

Here’s the Livestrong one in action:

Some on-topic options:

Os Gemeos:

Shepard Fairey:

Check out the whole list:

iGoogle Artist Themes

What I Learned Tonight at the MITX Event

The panel was a lot of fun.

Not surprisingly, considering the the smart folks I was paired with, I learned a few things myself, the two biggest:

  1. People are really excited about the potential of Opensocial. I guess that shouldn’t come as a surprise, but it was interesting how unanimous the excitement was amongst the panel members (and that ignores the actual Google employee on the panel)
  2. Adobe AIR is the best solution going for cross-platform desktop widgets. Why? They’ll run on a Mac, Windows and even Linux and the development platform (Flash/Flex) is one that is widely supported and relatively easy to staff. compare that to the specialized knowledge needed to unlock the power of some of the other platforms and the fact that work needs to be split amongst them and Air is the way to go.

Thanks to everyone that came out!

April Fools Jokes of Note:

I’ll be adding to this all day.

Matt Cutts talking about ALT attributes

This is the second in his series of video talks published to the Google Webmaster Central blog. I eat this stuff up. I love detailed explanations like this. I feel like I’m armoring up with knowledge :) There’s not much new in this piece for me, to be honest, but it’s still worth a look if you’re not sure about the mysterious use of the ALT tag*.

*everyone calls them “alt tags”, but they’re really an attribute.

The Anatomy of a Search Result

Matt Cutts talks about how Google puts together their search results. Fascinating stuff (for me at least.)

via the Google Webmaster Central Blog

PageRank 5

My blog now has PageRank 5. It actually has been at that level for several months (or so I assumed based on Google’s Webmaster Tools) but there was just a toolbar update so the big jump from 4 to 5 was only reflected in the toolbar data today. Wicked.

Books 2007 #11 Google Analytics

Google Analytics: an excellent introduction/reference for the ubiquitous Google Analytics web site statistics package. I learned a ton and will refer to the book for a long time to come as I continue to tinker with both my own tracking and the lower tier statistics package we’ll be offering clients at work. Highly recommended for web professionals of all stripes.

Automatically Track Outgoing Links in Google Analytics with Javascript

I’m currently reading the O’Reilly Google Analytics book, so of course I’m going to sandbox some stuff (albeit not here at this site.) One of the first things I seized on was the ability to track outgoing links by calling the urchinTracker() function onclick. Taking a few minutes out of my morning I put this together:

//window.onload we run this
var anchors=document.getElementsByTagName("a");
for (i=0;i<anchors.length;i++) {
    anchors[i].onclick=trackOutBoundLinks;
}

the trackOutBoundLinks function looks like this:

function trackOutBoundLinks(){
var thelink=this.href;
if (thelink.indexOf(location.hostname) ==-1 ){
   urchinTracker('outgoing:'+thelink+'');
   document.location.href=''+thelink+'';
   return false;;
   }
}

And with that you get fancy entries in your content list like this:

"/outgoing:http://www.dccomics.com/graphic_novels/?gn=7679"

Of course, the above will skew your page views, etc. so you’ll need to apply some filters and/or create a new profile, if you want to track page views in the default way in addition to tracking outgoing links, etc. but all that’s a Google Analytics matter*. The biggest JavaScript caveat is that if you’ve got any other onclick events on your anchor tags the above will muck with them. But if not, it’s that simple to start tracking outgoing links. Pretty cool, I think.

Here’s a zip file with a small script file that will insert the above into any page it’s attached to. I might write a more generic version of this that will work in any environment if I get the time, but for now if people are interested here it is to play around with. Simply upload the analytics.js to your server and attach it to the page in question and it should work:

<script src="/your-path-to/analytics.js" type="text/javascript"></script>

*albeit a pretty big one. I can’t stress enough that this code will completely skew your content reports. You need to have two profiles- one which filters against outgoing: and one which doesn’t. The one which does will track page views in the normal way, the one that doesn’t will have all the fancy outgoing links interspersed with the content reports. I am not savvy enough with analytics to solidly answer questions about that side of this business, so if you’re unsure look to some Google Analytics expert for sage advice on the ins and outs of profiles and filters. Maybe after reading the rest of this book and sandboxing these techniques for a month or two I’ll be more certain about some of these things, but for now I’m a javascript nerd who’s just exploring the GA landscape.