Safari Link Exposer

May 13th, 2008

I think that for any business with an internet presence, an important part of running and growing that business is being astutely aware of your surroundings. In particular, that means recognizing when people on the internet are talking about you, and responding to or engaging them when it’s appropriate.

Typically when a person on the web is kind enough to link to one of my sites, I learn about it quickly. Those of you who are not familiar with the way the web works might be surprised to know that whenever you click a link in a browser, the browser is typically kind enough to also tell the link’s target server where the link was clicked from. This is called the “referrer” and helps a great deal in tabulating statistics about web site visitors.

What’s really interesting about this referral reporting is that statistics software such as Mint can make it exceedingly easy to keep tabs on who is linking to you. Additionally, services such as Technorati and Google Blog Search attempt to keep tabs on where particular pages on the web are linking to, and offer RSS feeds so that you can keep tabs on any new links that might be pointing your way.

Suffice to say, if you are interested in doing so, it’s possible to keep a broad, open eye on what people on the internet are saying about you, provided they include a link to you among their thoughts.

Cutting To The Chase

I tend to skim every referral that looks like it might be from a legitimate source (not link spam). For instance, sometimes I’ll find a blog post where somebody reveals a problem they’re having with MarsEdit or another of my applications. If it’s possible for me to chime in with proactive customer support, I figure the user will be more overjoyed than creeped out by my “stalking” their blog post.

If you’re lucky enough to start getting linked a great deal, it can start to become a burden to evaluate all those links and decide whether any of them require (or would benefit from) your attention. Typically for me this has involved opening every such link in Safari, and then proceeding to glance at it to see where they are linking to me, and what the context is. This can be difficult on a long page, or when the person has attached the link to an unlikely phrase, such as “this guy says.”

What we need here is a computer. Something that can perform the painstaking task of looking at a web page and deciding where the important parts are. Once these important parts are brought to my attention, I can quickly evaluate and decide whether to quietly take in the referral, or whether to engage in some way with the author.

A Scripted Solution

Safari Link Exposer is a small script I wrote to facilitate this task. Let’s take a look at a sample web page I might encounter in my referral following. See how it’s possible to scan for the links to me, but they don’t exactly jump out from the page:

Now keep in mind this is an arbitrarily simple test case. Normally the web page might be pages long or a lot more complex. Even still, a significant amount of time is spent parsing the “unimportant” information to get to the all-important references to me. Now let’s look what happens when I run my keyboard-activated script in Safari:

Ouch! My eyes, they bleed! Help! But see, that’s the point. There’s no missing the links to me (in red with white text). The first-level container of said links are brightly lit in yellow to accommodate easily tracking to them, and the second-level container is lit in a more subdued yellow to broadly attract your eye’s attention.

Free Download: Safari Link Exposer

I used my shortcuts utility, FastScripts, to attach a Safari-specific keyboard shortcut of Ctrl-Cmd-F to the script. Now when I’m browsing my referrals I can zoom in on the nitty gritty with a single keystroke.

Hope this is helpful to somebody. The basic script needs to be edited to be useful to you, but it’s set up so that you can easily replace the “red-sweater” search term with a term of your choice. You could also use this script as the basis for other types of “smart scanning” scripts that expose elements based on other criteria.

It’s also worth noting that the bulk of the script is JavaScript and should be easily adaptable to other web browsers. I use Safari and I trust its AppleScript-based “do javascript” command, so naturally that is the approach I took in writing this.

Please let me know if you have any improvements for the script or other ideas for how to streamline this process.

Bokeh 1.0

May 9th, 2008

It’s 1.0 Friday among my indie developer friends. I know some of it has to do with the impending May 12 deadline for the Apple Design Awards.

Geoff Pado released his new application, Bokeh, today. Bokeh lets users “fast track” a particular application so that it gets the majority of the CPU on a system. By stopping other applications in their tracks, a CPU-intensive operation in Photoshop, for instance, might finish more quickly.

Congrats, Geoff. Getting to 1.0 is a beautiful thing.

TapeDeck 1.0

May 9th, 2008

My friends Chris Liscio and Daniel Sandler have joined forces for a very cool new product called TapeDeck.

What is TapeDeck? Well, as those of you old enough to remember tapes can guess, it’s essentially a very simple audio recorder which embraces with gusto the tape cassette metaphor. It’s pretty fun to watch the wheels of a cute little “virtual tape” turn as you record your mental notes, a riff on the guitar, whatever.

Back in the OS 9 days, Apple used to ship a default audio recorder in the system preferences, so you could easily record your own system beeps, etc. Since then, it’s been remarkably hard to “just grab some audio” in a quick and painless manner. TapeDeck might be the new solution for this problem in my day to day workflow.

Congrats, Chris and Daniel, on a very well done 1.0.

MacGourmet Loves MarsEdit

May 6th, 2008

Advenio software today released MacGourmet 2.3, an update to its recipe management and generally impressive kitchen cooking helper.

Among the added goodies is a feature to allow easily sending a recipe from your catalog over to MarsEdit for easy blogging. If you run a food related blog, or just a personal blog which would occasionally benefit from an epicurean boost, this should greatly ease your workflow!

I love the idea of 3rd party applications using MarsEdit to bring the easy blogging to their users. In the future I’ll be looking at ways to offer improved mechanisms to other developers so that the process can be even more streamlined and customized.