Archive for November, 2004

Craigslist NSA Haircut

Saturday, November 6th, 2004

I really need a haircut, so I posted a thingy to craigslist casual encounters for a hot night of hair cutting.

I don’t know if it will be removed or not, so here is my archived version: NSA Haircut

I love Craigslist Casual Encounters

Saturday, November 6th, 2004

Hopefully I’ll get a free haircut out of it:

<b><a href=http://portland.craigslist.org/cas/48118665.html>Haircut – Seeking NSA TrimJob Tonight!</a> – m4w – 28</b>

If that doesn’t work, here is an archive:

<a href=http://portland.craigslist.org/cas/48118665.html>Craigslist Haircut on Kyleritter.com</a>

Search Engine Friendly URLS with mod_rewrite

Saturday, November 6th, 2004

I’ve been building a database of bars and nightclubs in my home city of Portland.

However, I didn’t like the messy URLs generated when I passed the “bar_id” parameter to the PHP script:

<a href=bar_info.php?bar_id=1> Shanghai Tunnel </a>

I wanted a nice clean way to make the URL contain both the bar’s name, extract information based on a value passed to the database, AND appear to both search engines and visitors as a static HTML page.

First I added a new column to my mysql table called “static_url”. Then I wrote a function that generated a 2nd version of the bar’s name with all odd characters stripped out, while spaces where replaced with a hyphen (“-”). Then this info was added to the static_url column of my table for the corresponding bar.

For instance, the record row for “Shanghai Tunnel” now contains a value of “shanghai-tunnel” for the “static_url” column

Unless there are two Shanghai Tunnels in Portland, this is unique a non-numeric indentifier for each bar. So instead of accessing bar information by passing a numeric ID value, I could now pass “shanghai-tunnel” as a value.
I can extract the same information about Shanghai Tunnel using “bar_info.php?static_url=shanghai-tunnel” as I could with “bar_info.php?bar_id=1″.

So my next step is to make bar_info.php?static_url=shanghai-tunnel look like a static html page. So I

  1. Point it to a non-existant folder called “bar”
  2. Point it to a non-existant file called “shanghai-tunnel.html” located in the non-existant folder called “bar”

This is what my URL now looks like
<a href=http://www.pdxbars.com/bar/shanghai-tunnel.html> Shanghai Tunnel </a>

Now it’s time to make these non-existant files appear real. Here comes the magic of mod_rewrite and regular expressions (which is something I’m still learning about). Basically, we want to tell the URL “bar/some-bar.html” to be processed as “bar_info.php?static_url=some-bar”

Open up your .htaccess file (make sure you have a back up in case you screw something up)

RewriteEngine on
RewriteBase /
RewriteRule ^bar/([^.]+).*$ bar_info.php?static_url=$1

Make sure your .htaccess is in your root web folder, and off you go. Modify the script at will, this should work with any sort of web programming language such as Perl, ASP, ColdFusion, JSP, or whatever, provided you are running apache with mod_rewrite enabled.

*For those uptight programmers out there who don’t like the idea of using non-numeric identifiers. My decision was based on the fact that
http://www.pdxbars.com/bar/shanghai-tunnel.html
tells more about the page to both users and search engines than
http://www.pdxbars.com/bar/2361826123.html

Designing Business Cards

Thursday, November 4th, 2004

I’ve been designing my business cards for my Portland Web Design Company today. I have not designed anything for print in quite some time, it’s been interesting trying to figure out a good uncluttered layout that contains all of the necessary information.

I’m trying to keep my branding consistent with my web properties without overshadowing the necessary information:

  1. What I do
  2. Who I am
  3. How to find me

Consistent branding is important to me to increase my overall visibility. I brand all of my websites with my BlueBandit mascot:
Web Design

However, I am operating with a limited budget for business cards, I’m operating on a two-color budget, using the muliple colors will not work. So I’ve been trying to figure out the base color for the Bandit Head, that still seems consistent with the rest of the site.

Well, back to work.

New Article posted

Thursday, November 4th, 2004

I’m trying not to talk about politics. What can I say, I’m a fatalist with a slight Libertarian lean.

Anyway, here is my helpful article: <a href=http://www.kyleritter.com/archives/2004/11/image-search-optimization/>Image Search Optimization</a>

Brutally Honest Personals

Wednesday, November 3rd, 2004

Honest PersonalsI was chatting with my friend Matt Steckler, a guy who at least once a year pulls off some zany scheme.

For awhile, he was broadcasting fan commentary via cellphones from Seattle Supersonics games. As it picked up listenership, he was served with a Cease and Desist from the NBA.

His latest adventure is an experiment with brutally honest personals. Apparently, he was a regular on the internet dating circuit, and his actual honest profile caused such a commotion in the personals community, that he was able to start this personals/hotornot hybrid.

Esquire Magazine coverage has helped propel the idea further into the public eye. It has been mentioned in quite a few blogs and news sites, which help generate a nice chunk of traffic.

Attachment update

Tuesday, November 2nd, 2004

It is wise to compress images from your digital camera BEFORE you send them. And just because you have superduper high resolution camera, it doesn’t suddenly make you Ansel Adams. You remain you, with a high resolution crappy snapshot.

It is also wise to make sure the pictures would be of any interest to the person that you accidentally emailed them to.

Funky girl making wacky face in front of a hot dog stand, at 3mb, well, that just sucks. I don’t even know who funky girl is, or why I should care.

Call Me Old Fashioned

Tuesday, November 2nd, 2004

But I like using basic simple tools with few bells and whistles.

I still use simple text to write HTML, I don’t update IM clients much, and I don’t have a fondness for many new versions of software. It’s been awhile since anything truly significant was changed in Photoshop, I only use Fireworks for slicing and optimizing images. Even though I don’t like to use it for web projects, every new version of Flash has been the only upgrade that I significantly found more useful.

This stemmed from a conversation about upgrading MSN Instant Messenger to include more stuff. Nah.

Do not email me large attachments

Tuesday, November 2nd, 2004

30mb attachments aren’t funny, and for some reason, they brought my mail server to a halt. It looks to be approximately 13mb in size. All I know is that disk space for that account is eaten up, and even on 768kps (well, as advertised, fucking comcast) it has taken nearly a hour to download and a small fraction of the message.

I have no clue who did it, my mail hasn’t downloaded from that account…yet.

But, as it is, it is also preventing me from viewing essential business oriented messages.

So please…If they are bigger than 1mb, DO NO SEND.

Don’t know how to tell if they are bigger than 1mb? Right click and select “properties” on the file you would like to send. If there are more than 6 digits followed by the words “bytes”, don’t send it. If it says “this file is 2.4Mb or 1.45 Mb.” don’t send it. I’ll like you better that way.

So thank you, large attachment sender. If I wake up in the morning and things are still horked, I’ll be very angry with you.

Image Search Optimization

Monday, November 1st, 2004

With some of my websites I have found that the image search function for both Google and Yahoo has generated a significant increase in traffic. In fact, I have one website that increased it’s daily uniques by over 300 visitors a day, just because of image searching. I watched my sales and advertising clickthrough rates skyrocket, as well as my conversion ratios.

Let do the math: 300 uniques average x 30 days per month = 9000 new targeted visitors per month.

The key, like any other search optimization techniques, is relevancy. Those alt tags parameter that can be included in the <img> helps the search engine understand the content of your images. Otherwise, they are seen by spiders big block of pixels with no real meaning.

Your image naming conventions also help. Let’s say your website is about guitars and you have photos of various Gibson Les Pauls. Naming your image “1979-gibson-les-paul.jpg” is far more beneficial than say “picQ13F344.jpg”.

Couple your image naming with the alt tag: <img src=”images/1979-gibson-les-paul.jpg” alt=”1979 Gibson Les Paul”>

Image size is also a concern. I have found that images larger than 150 x 150 pixels do quite well, as they are large enough to illustrate a clear picture. I believe this is factor in the search algorithm, however, it is difficult to substantiate that claim. I do know my luck has been good when they are over 150×150. Likewise, if it is a thumbnail that clicksthrough to a larger image, give the larger image the arbitrary name, while giving the thumbnail the descriptive name. This will help cut down on your bandwidth while keeping your traffic flowing.

Now naturally, you’ll want your surrounding text to also be topical. Surrounding it with a brief overview of the the 1979 Gibson Les Paul will help favor your image even more.

Many image searches open their results in a frameset. Sometimes, this can have a detrimental effect on how your website is displayed. I personally use an external javascript to break out of all frames, including those generated by links in hotmail accounts. I haven’t had any problems with the search engines, however, some may frown upon this use and choose not to include your website. If you go this route and get banned, please do not blame me. I am just relaying my experience.

Taking the time to utilize these simple tactics can yield impressive results overtime. What you do with that traffic is up to you, but certainly it should help you generate enough traffic to do something with.

——————————————————————————

For musicians, this technique can work wonders for their search engine traffic.

One suggestion I have made to clients is to request permission from photo copyright holders to include pictures of musicians in your genre that you enjoy on your own website. If you are given permission, or if you have photos that you hold the copyright to, build a separate pages dedicated to these musicians. Use the above image search optimization techniques in conjunction with these pages and make sure you have links pointing to the pages from at least one or two linked pages on your main site.

If you would like more information, read my article How to Promote Band Websites.