SEO Egghead by Jaimie Sirovich: A blog about SEO, written for nerds, by a nerd.

Choose a Topic:

» Suggest a topic or buzz to cover; if I write about it, you'll get credit with a link in the post!

Mon
11
Sep '06

Using Proper Grammar Programmatically: Part I

Archived; click post to view.
Excerpt: One of the things that irks me most about programmers getting involved with marketing is that most of them just don't know grammar.  SEO Black Hat mentioned "Google are," I mentioned "then vs. than," and now I'll mention one more thing -- "a vs. an."  ...
2 Comments »
Fri
21
Jul '06

ROTD: Removing CSS Bloat

Archived; click post to view.
Excerpt: This function, comprised of a simple regular expression, will remove most of the bloat from larger CSS files.  Not that the effects are very substatial or groundbreaking, but it does save quite a few kilobytes to run things like this over your CSS and HTML.  Using mod_gzip also has a favor ...
2 Comments »
Fri
21
Jul '06

ROTD: Replacing "Smart" Quotes with "Dumb" Quotes

Archived; click post to view.
Excerpt: Microsoft applications have this nasty habit of exchanging both your single and double quotes with "smarter" versions.  They curve inwards and look really snazzy in Microsoft Word.  When you cut and paste them, they're unencoded, as Windows assumes that everyone is using wind ...
2 Comments »
Thu
20
Jul '06

Cloaking is Not Evil: Part II

Archived; click post to view.
Excerpt: Someone commented on my last post that there is a way to achieve some of what I stated as a goal in the previous post without cloaking.  He said:"Only create the session IDs in the URL when either one already exists, or when the user does something to prompt it (and make sure robots don ...
2 Comments »
Fri
7
Jul '06

A (not so simple) method to add rel="nofollow" to links

Archived; click post to view.
Excerpt: I wrote this script so that I can run it over arbitrary HTML. Basically, what it does is it adds rel="nofollow" to links that are not in an array of whitelisted domains. It sounds simple, but it gracefully handles many conditions that most people do not bother with. 1) As mentioned ...
1 Comment »
Wed
21
Jun '06

Curly vs. Square

Archived; click post to view.
Excerpt: I've always used '{' and '}' to access characters in a PHP string.  I knew I could, but I never really used '[' and ']' to do the same, out of habit more than anything else.  Apparently, not only is it allowed, but it's recommended by the PHP documen ...
1 Comment »
Tue
20
Jun '06

Simple Cloak PHP Library

Archived; click post to view.
Excerpt: Since Google has decided that cloaking, in fact, is not against the rules (not really, make sure you click that link), I have decided to post my simple cloaking toolkit written in PHP.  I cannot support this thing, so please don't bombard me with emails.  If you're very p ...
10 Comments »
Fri
9
Jun '06

Checking for Dead Links Automatically

Archived; click post to view.
Excerpt: This neat little class can return the HTTP status code of a URL.  It uses cURL to do so.  Simply take the result of "parseResponseCode"  and see if it's a 200.  Depending on your requirements, 302 or 301 may also be a satisfactory answer, or you may want to update t ...
2 Comments »