Northampton on Design*Sponge

Written in Northampton, MA on January 17, 2012

This is a great overview of Northampton, highlighting a bunch of reasons why Pilotmade ended up moving to the Pioneer Valley.

Northampton, MA City Guide on Design*Sponge.

Public Bike Contest Winner…

Written in Northampton, MA on November 29, 2011

I received an email a few weeks back from the Better World Club, a roadside assistance company I have a membership with. They were announcing a photo contest, with a grand prize of a new bike each for the "Most Shared" entry, and the "Most Creative" entry. I took an hour or so to brainstorm and come up with this entry: Phone Home. The contest went on for about a week after my entry, and on the day the contest ended, I received a surprise in my email inbox, E.T. won me a Public Bike for "Most Creative!" The bike just arrived in Northampton, MA yesterday via FedEx. I'm not sure I'll have much chance to ride it before winter descends on Western Mass, but now I've got a little something to look forward to on the other side.

Many thanks to Public Bikes, Bolt, and the Better World Club, who put on the contest.

Apache Query String URL to SEO Friendly URL

Written in Northampton, MA on November 10, 2011

On one of my current migration projects. I need to rewrite a bunch of clunky old dynamic query string URLs to nice clean search engine friend URLs. Took a bit of digging through Apache documentation, but here it is.

The goal was to go from

http://domain.tld/?tag=somekeyword&Template=feed&IncludeBlogs=71

to

http://newdomain.tld/feeds/topic/somekeyword/

If you want to rewrite just one URL, simply type it in as written below. The downside to this approach is that, it's just one URL. You would have to retype this for each string you wanted to rewrite.

RewriteEngine On
RewriteCond %{QUERY_STRING} ^tag=blah&Template=feed&IncludeBlogs=71$
RewriteRule ^index.php$ /feeds/topic/blah/? [L,R=301]

Or if you want to get fancy and some piece of the original URL actually matches the new URL, You can store it and then :

RewriteEngine On
RewriteCond %{QUERY_STRING} ^tag=([a-z]+)&Template=feed&IncludeBlogs=71$
RewriteRule ^index.php$ /feeds/topic/%1/? [L,R=301]

In both examples, index.php is an example and would be whatever your script address is.

Pilotmade moves to Northampton, Massachusetts

Written in Northampton, MA on July 5, 2011

Just a heads up, Pilotmade has pulled up stakes and pointed the wagons west to Northampton in the beautiful Pioneer Valley of Western Massachusetts. We are looking forward to getting settled in our new community and meeting some great new people.

Pilotmade world headquarters is currently located right downtown in the Click Workspace, directly behind Sylvester's Restaurant.

Gmail + iPhone + Apple Mail

Written in Concord, MA on November 8, 2010

For a while now I’ve been using several different Gmail/Google Apps accounts with Apple Mail and the iPhone. There are an abundance of guides out there describing the best way to integrate everything so you have the same user experience in webmail, desktop, and mobile. I’ve tried a bunch of these but they all seem to fall short of doing things how they should. I wanted the experience to be as close to a normal IMAP server as possible, where the mindset is that emails should be deleted, NOT archived.

A few necessary aspects of my “perfect” setup.

  1. Delete a message on any platform, it gets put in the trash, NOT archived.
  2. Move a message to a local folder in Apple Mail, it gets put in the trash on the server, NOT archived.
  3. Get rid of All Mail so duplicate messages aren’t downloaded and the badge count is correct.
  4. Clean up the folder hierarchy in Apple Mail such that there isn’t a [Gmail] folder and all Gmail folders are correctly mapped (Spam, Sent, Trash etc.).
  5. Nested Folders.

Gmail / Google Apps Setup

First, we need to get your Gmail / Google Apps account set up correctly with IMAP to allow us to access things from Apple Mail and the iPhone. This involves enabling two features from the Labs section, customizing the IMAP behaviors, and customizing which IMAP folders display in Apple Mail. Follow the instructions below.

  1. Settings > Forwarding and POP/IMAP > IMAP Access > Status > Enable IMAP
  2. Settings > Forwarding and POP/IMAP > IMAP Access > When I mark a message in IMAP as deleted: > Auto-Expunge off
  3. Settings > Forwarding and POP/IMAP > IMAP Access > When a message is marked as deleted and expunged from the last visible IMAP folder: > Move the message to the Trash
  4. Click “Save Changes.” Then go to:
  5. Settings > Labels > System Labels > Starred > Uncheck “Show in IMAP”
  6. Settings > Labels > System Labels > Chats > Uncheck “Show in IMAP”
  7. Settings > Labels > System Labels > All Mail > Uncheck “Show in IMAP”

You’re done, now open Apple Mail.

Apple Mail Version 4.5 (1084) Setup

My goal was to map all the Gmail folders to the appropriate Apple Mail folders so things like Drafts, Sent Mail, Trash and Junk were available on the left Mailboxes view in the main sections, NOT within the account folders below. This setup differs greatly from Google’s suggestions but it has been working well for me. This method will leave the [Gmail] folder in Apple Mail, but it will be empty. If you actually want to remove that, you have to get a bit more complicated. I plan to outline that method in another post.

  1. Create a new account. You can figure out how to do this on the Gmail Help page.
  2. Go to: Mail > Preferences > Accounts > The account you added > Mailbox Behaviors > Make sure everything is checked except Notes (unless you want to).
  3. Go to: Mail > Preferences > Junk Mail > Enable Junk Mail filtering and select “Move it to the Junk mailbox” option. Close the Preferences window.
  4. In the left hand Mail folder pane, find your account name and expand the [Gmail] folder
  5. Map the folders within to their correct functions in Apple Mail by selecting the appropriate folder and then going to: Mailbox > Use This Mailbox For:
    • Drafts > Drafts
    • Sent Mail > Sent
    • Spam > Junk
    • Trash > Trash

Apple iOS 5.0.1 Setup

Now on the iPhone we want to have the same clean folder hierarchy and have deleted messages actually get put in the trash instead of archived.

  1. Set up a new email account: Settings > Mail, Contacts, Calendars > Add Account… > Gmail > Enter your info
  2. Settings > Mail, Contacts, Calendars > Select your account > Archive Messages > OFF
  3. Settings > Mail, Contacts, Calendars > Select your account > Account > Advanced > Mailbox Behaviors
    • Drafts Mailbox > Set it as the Gmail Drafts folder
    • Deleted Mailbox > Set it as the Gmail Trash folder

What did all this do?

We’ve successfully mapped all folders correctly in Apple Mail and on the iPhone. Deleting works as it should, actually moving the email into the Trash instead of just Archiving it.