Logical Expressions Blog

Better Books, Profitable Publishing

August 2008 Entries

Finally, Our 440 Article Testimonials Are Online

Over the years, I have saved many of the emails we receive through the contact forms on our various Web sites. In addition to our main Logical Expressions site, all of our article sites (The Publishize Newsletter, Computor Companion magazine, Logical Tips, Pet Tails etc., have comment forms that appear on the article pages.

I receive contact form emails from at least one of our sites almost every day. Most of them are from happy people who have solved a problem thanks to one of our articles.

If there's such a thing as karma, we have points beyond belief. I get complimentary emails like this one, for example:

"This instruction page was great! I was up and running in no time and my index works! Thanks!"

or, really happy ones like:

"Oh. My. Freaking. God. Thank you so much! I really appreciate this article!"

or

"Thank you so much for this article! I really cannot thank you enough; you saved a breakdown and possibly a computer-related violent act!"

Thanks to some magical programming by James, I finally now have all 440 of these testimonials rotating on the Logical Expressions site on the left-hand side below the menu. I've wanted to put them up for years, but it's always been a low-priority project, mostly because compiling them from email is sort of a pain. But I finally got fired up and did it. (Realistically, reading how much people love your writing isn't much of a hardship. I shouldn't have put it off for so long!)

In any case, now every time you go to another page of the site, or refresh a page, a new testimonial appears.

How it Works

For those who wonder how this works, here's the simple explanation. James uses some programming code to access a file on our site where the testimonials are stored. An individual testimonial is displayed randomly on each page of the site.

The more nerdy explanation is:

I entered all 440 testimonials into an XML file. Each line has two attributes, one for the testimonial text itself, another for the attribution.

James wrote a bit of Javascript code, which has functions that select and display a random testimonial retrieved from the XML file. Because our site is set up using includes, we added a small <div> for the testimonial section in our left-side include, so it appears on every page of the Web site.

The Javascript invokes a function called getTestimonial, which retrieves a random testimonial from the XML file. The page must have a Testimonial div defined somewhere (in this case in our the spot we set up on the left side). Then it assembles a testimonial from the XML and inserts it into the specified page element. James added numbering, so that when you view the site, you can see which number testimonial you are looking at out of the 440 stored in the XML file.

We also updated the Web site style sheet with some new styles to format the testimonials. Because we set up the testimonial attribution as a separate XML attribute, we were able to use a span tag to format it separately.

Because our breadcrumb navigation uses a similar technique to access another XML file, James actually pulled out all the script tags from the site and stored them in a separate file, which is also part of an include. That way if we add more scripting later, we just need to update that external file.

I'm sure at some point, James will write an article on Nerdy Musings that explains in excruciatingly geeky detail how he created the rotator and the XML Breadcrumbing we use on the LE site. But until then, that's as nerdy as I can get.

Less Nerdy Improvements

In much less nerdy news, I also swapped in a new photograph of us that appears on the right-hand side of the site. We took the original photo in the middle of winter using a camera timer. We stood in front of a snow berm (so the background would be easy to drop out in Photoshop), but we were FREEZING. Thus, our faces may have looked a little...tense.

The new photo is one of the ones taken during the Redbook photo shoot by Erika Larsen. It was a beautiful day and we look way, way happier.

I also added a few photos from the shoot to the About Us page. I finally, finally got to use the caption: James Byrd and Susan Daffron: Out Standing in Their Field.

Sometimes it's the little things ;-)

The Luck of the Draw

by James Byrd

I'm a Seth Godin fan. I don't agree with everything he says, but I love reading his blog because it is often thought-provoking. His post from yesterday is no exception:

The Difficult Choice

In his blog entry, Seth responds to a critic of The Dip, his book that "teaches you when to quit." The critic claims that Seth doesn't allow enough for the role of luck in the story of companies and people who become successful.

Seth's response is that either you believe in luck, in which case, why bother trying? Or, you believe that luck is random, in which case you just focus on the things you can control.

Okay. Perhaps there's a third option: you make your own luck.

I don't believe in luck much personally. I think luck is a self-fulfilling superstition. If you believe you are unlucky, you will ignore the opportunities that life sets before you, and guess what? You live an unlucky life!

At every moment of every day, your life intersects with the lives of others in time and space. Every one of those intersections is an opportunity for change of some kind. If you walk through life with your focus on yourself and how unfairly life has treated you, it is tough to be alert to opportunities that can let you create a new history for yourself.

The good news is I believe that you can change your luck today. Someone once said that every day is the first day of the rest of your life. If today is just like yesterday, then you are the one who makes it that way.

Take a moment to think about where you'd like to be rather than lamenting where you've been or where you are. If you do that, your mind will be more receptive to opportunities when they present themselves.

The tricky part is having the courage to act on those opportunities when you recognize them.

Conversion and Redirection

by James Byrd

The title makes it sound like this is going to be a complicated posting, doesn't it? Not to worry: the subjects of this post are about making things easier, not harder.

The "logical half" of Logical Expressions (that's me) has been busy with a couple of side-projects that came to fruition this week. I wrote articles about each of them on my Nerdy Musings site.

The LE Redirector is essentially TinyUrl on steroids. If you aren't familiar with TinyUrl, it is a free hosted service that lets you replace long URLs with short ones that are more suitable for email and situations where you want to disguise part of the URL (like affiliate information). The LE Redirector does the same kind of thing, except it also tracks the click-through events on the redirected URL.

For now, we are using the LE Redirector for our own web marketing purposes, but we may eventually release a commercial version of the software so others can use it to manage their own redirections. If you are interested in knowing more about that, let us know!

The PayPal Button Converter for ASP.NET helps ASP.NET developers insert PayPal buttons into ASP.NET web pages. It is a variation on the utility I wrote some months ago that does the same thing for AWeber subscribe forms. Both are free for anyone to use.

You can find the conversion utilities here: