Where Is Curtis

In anticipation of my upcoming Grand Canyon and Collegiate Range trips, I dusted off a couple XSLT books and got to work on whereiscurtis.com.

(1) I modified the Perl script (which checks IMAP mailboxes for FindMeSpot locator messages) to ultimately dump out an XML file of the last ten locations stored in the database. I used a fancy-schmancy Postgres stored procedure to support this: tracklog.sql.

(2) I added SFTP support via Net::SSH2 to the Perl script so that it could push this file to the web server.

(3) I tossed an htaccess file in the root html directory to point all implicit-index requests to the xml file: .htaccess

(4) I labored freakin' forever on the stupid XSLT. It'd probably take me thirty minutes to do it now. I guess that's the nature of a learning curve: tracklog.xsl

(5) I added Google Maps support via an embedded map, and updated the XSL to create a link in each location entry that calls a JavaScript function that re-centers the map on the associated point.

(6) I'm waiting patiently for the FindMeSpot people to release their new hardware so that I can give them my money.

(7) I'm going to sleep.

(8) And if you didn't notice, I updated all of the pictures along the right-side bar. It includes all of my recent trips except for Yosemite and the White Mountains, because I can't seem to find any of those pictures. Bummer.

Subscribe to A garage sale for your mind

Don’t miss out on the latest posts. Sign up now to get access to the library of members-only posts.
[email protected]
Subscribe