March 27th, 2007

A couple of product support no-brainers

As a software developer, I don’t like to write help files/documentation/etc. As a picky reader, I also can’t help but spot typos in other people’s writing (but not in my own, apparently!), broken English (like instructions written by people for whom English is clearly not their primary language), and statements that brought to mind a big, fat, “DUH!” when I read them.

Here are a couple of the latter, no-brainer “DUH” types, with my comments below.

Why does my Cingular 8525 not turn on? The power might be off or the battery might not be charged.
– Oh, it won’t turn ON because it’s OFF.. thanks for the insight!

Changes made from version 2.2 to 2.2.1: Changed the software version number from 2.2.0.4 to 2.2.1.0
– Wow, that’s a *much* better version number. I hope they can implement a similar feature in the next version, too!

March 26th, 2007

Gmail snippets, part 2

Last week, I posted about my observation that, Gmail snippets include ALT text for images in HTML emails.

This information won’t matter to most people. But, I was thinking that anyone sending email promotions/customer service alerts/etc. might benefit slightly from this knowledge. I wouldn’t suggest putting a LOT of effort into it, since I’m sure the number of people who read their email in the gmail web interface, with the “show snippets” option turned on (I think it’s off, by default), is not large enough to warrant it, but it wouldn’t hurt to consider this tip: get right to the point!

What I’m suggesting is to put the main idea of the email in the first line of the message body (or better yet, in the subject line!). Or, at least put a reasonable hint, so the recipient can tell–at first glance–whether the message is relevant/useful to them.

You don’t get very much space to work with, here, so make it count! With my gmail window maximized, in 1280×800 screen resolution, with normal font sizes, I can see exactly 123 characters of [Subject]+[Snippet]. Usually, my window is not maximized, so we’re probably talking more like 80 characters.

I’m not in the email marketing business. I am just an ordinary consumer/geek. But I do recognize that, when reading my email, I follow some predictable behavioral patterns.

If I see a subject from Barnes & Noble like, “Two 25% Off Coupons Inside”, and have been thinking about buying a book/movie/etc., I will probably click it. However, if I see “This Week — Coupons, Anne Lamott, Tracy Chevalier, More”, I almost definitely would not. Kodakgallery.com rarely compells me to click, because they use titles like, “March Gallery Exposure: Winds of change!” Officemax.com and Dell usually mention specific coupon types/values in the subject line, which I like.

Nobody seems to be taking advantage of the first line of their emails, though. Looking through my gmail right now, the only snippets that are useful *at all* are from personal emails, and a newegg.com RMA confirmation (which shows my invoice # in the title AND the snippet, and my RMA number in the snippet). Most of the marketing emails seem to start with things like “Having problems viewing this email? Click here.”, which makes their gmail snippets worthless.

Another reason to get right to the point, with a compelling title and first line, is for mobile users. When reading email on my mobile phone, I would rather not have to scroll through several pages of menu bars, company logos, icons, greetings/small talk, etc. I’d like to see the important information first. If I don’t see it right away, and don’t have a very specific need for the information, I will most likely skip reading that message, and may or may not try to read it on my laptop later.

Brevity becomes extremely important when it comes to sending information (such as bank alerts) via SMS. Bank of America does not know this. Every time I get an SMS alert from them, it’s at least 80% fluff, and usually gets broken up into 3-4 smaller messages by my wireless provider (which, if I was not on a text messaging plan, would cost me $0.15 per message, to receive). I’ll probably post more about that another day.

March 21st, 2007

Gmail snippets include ALT text for images in HTML emails

While checking my email this morning, I noticed something interesting about gmail’s “show snippets” feature. It wasn’t something that jumped out at me or anything. In fact, it didn’t really register in my mind until after I’d already clicked to view the message. The words “Bank of America Customer using a laptop” seemed a little strange. So, I went back and looked at my Inbox again, and saw this snippet:
gmail snippet: Bank of America Customer using a laptop for  Online Banking

This seemed like an odd bit of text for an email notifying me that a direct deposit just posted to my account. Sure, I am a Bank of America customer, who usually uses a laptop to access Online Banking. But they shouldn’t know that, so I clicked on the message again to see what they had to say about using laptops.

Well, the message, itself, showed no signs of the word “laptop”, but the large header image in this HTML email had a picture of a laptop in it. That’s when I realized that gmail was probably showing the ALT text for the header image! To verify this, I used gmail’s “show original” option, to view the full message source. Sure enough, the header was made up of several images, each of which had ALT attributes, and the header images appeared before any of the actual message content. The ALT text for the laptop image was, as expected, “Customer using a laptop for Online Banking”.

Apparently, to generate message snippets, gmail strips the HTML out of the message, leaving behind the ALT text from any IMG tags that appear in that code.

That makes some sense, since the ALT attribute provides a textual representation of the image content, for accessibility purposes. However, I’d bet that most of the time, images in HTML emails are not meant to be part of the content… Most of the time, they’re probably things like company logos, navigation bars (linking to different parts of a company’s website), list bullet icons, pictures of your [family member/friend]’s children, etc.

Don’t get me wrong. I’m not complaining about Bank of America’s email header, or gmail’s snippet generation method. I just thought this was interesting behavior. I have a few ideas for who might benefit from this information, and how they might use it, but I’ll have to save that for another post, tomorrow.

July 20th, 2006

uhhh… this just CAN’T be what it looks like.

July 13th, 2006

Using ImageMagick and 4NT to find jpegs by quality level

Using ImageMagick and 4NT to find and modify all jpegs in the current dir who have quality level 94:

for %f in (*.jpg) do (echo %f
& identify -verbose %f | grep Quality
| grep -o “[0-9]*”)

iff “%@execstr[identify -verbose %f
| grep Quality | grep -o “[0-9][0-9]”]” == “94″
then & echo %f & endiff

for %f in (*.jpg) do
(iff “%@execstr[identify -verbose %f
| grep Quality | grep -o “[0-9][0-9]”]” == “94″
then & echo %f &
mogrify -strip -quality 84 %f & endiff)


Unrelated side note:
This is one of several posts that I will be making in the near future, which come directly from my ever-growing toblog.txt file… No code cleanup or lengthly explanations, just commands I’ve run at some point that I thought were worth saving.