Topic: WordPress & Web Programming
The latest version of Shashin (v2.6), which is my plugin for using Picasa with WordPress, adds support for unlisted Picasa albums. Supporting unlisted albums is possible because 1. Picasa does not actually require any authentication to view the photos in unlisted albums if you know their URLs (they simply don’t show you links to view unlisted albums at Picasa, or view their RSS feeds, unless you’ve been authorized), and 2. the Google ClientLogin API is available.
The ClientLogin API documentation has really good prose, but precious little code. There is a freely available PHP library (fron Zend) for interacting with the Google APIs, but I didn’t want to bloat Shashin by several megabytes just so I could use the library’s authentication method (and there are enough interdependencies in the library that I couldn’t easily extract the authentication components).
Shashin uses ClientLogin instead of AuthSub because Shashin has an option for automatic scheduled synchronizing of Picasa albums, so the username and password needs to be saved. I can’t expect Shashin users to type in their Picasa username and password every time Shashin syncs its album data with Picasa.
Below I’ll explain how authenticate to Google services using ClientLogin, and then show a couple examples of interactions with Google services.
Read the rest of this entry »
Topic: Kai & Eidan: 2010
The boys enjoying planet Hoth
The boys enjoying planet Hoth07-Feb-2010 23:09SONY DSC-W55, 5.2, 18.9mm, 0.003125 sec, ISO 100
The new skill I acquired these past few days is how to participate in a snowball fight and shovel the driveway at the same time. After getting pelted mercilessly for several minutes, it finally dawned on me that I had a shovel full of snow (I can be a little slow sometimes).
With all the wind, we lost a 6 ft. long piece of metal flashing where the back wall of the house meets the flat roof. No sign of leakage so far. I’ll just have to keep my fingers crossed while the snow melts.
The word is this is a once in a lifetime snow event for the Philadelphia area. As you can see in the pictures, the boys are making the most of it.
Eidan enjoying the snowpocalypse07-Feb-2010 04:37SONY DSC-W55, 10.0, 12.4mm, 0.01 sec, ISO 100
|
The wind created interesting drifts07-Feb-2010 05:14SONY DSC-W55, 7.1, 6.3mm, 0.0125 sec, ISO 100
|
If I hadn’t brushed up against the car and exposed a headlight, you could have mistaken it for a snow drift07-Feb-2010 04:47SONY DSC-W55, 7.1, 6.3mm, 0.005 sec, ISO 100
|
Thick snow on the tree branches11-Feb-2010 04:41SONY DSC-W55, 4.5, 14.3mm, 0.002 sec, ISO 100
|
The birch tree in our back yard11-Feb-2010 05:30SONY DSC-W55, 7.1, 6.3mm, 0.008 sec, ISO 100
|
The boys enjoying some blue snow balls (blue is ok, just not yellow)11-Feb-2010 06:09SONY DSC-W55, 5.2, 18.9mm, 0.008 sec, ISO 125
|
The boys enjoying some blue snow balls (blue is ok, just not yellow)11-Feb-2010 06:09SONY DSC-W55, 5.2, 18.9mm, 0.008 sec, ISO 100
|
Trees in our neighbor’s yard11-Feb-2010 06:59SONY DSC-W55, 2.8, 6.3mm, 0.0025 sec, ISO 100
|
Did you know that Eidan is only 8 inches tall?11-Feb-2010 07:00SONY DSC-W55, 7.1, 6.3mm, 0.0125 sec, ISO 100
|
Topic: Shashin
Shashin 2.6 is now available for download at wordpress.org. I figure the end of the world is a good time to release a new version. Here’s what’s new:
- Added support for unlisted Picasa albums (finally!). You must have the PHP curl extension installed to use this feature. I believe most PHP installations include curl, but some hosting providers may need you to ask them to enable it for your account.
- Added ability to group albums by Picasa user accounts when using the [salbumthumbs] tag.
- Bug fix: the EXIF support introduced in Shashin 2.4 caused an error when syncing albums in the Windows version of mySQL. Many thanks to MC for letting me debug this on his Windows server.
- Bug fix: Shashin’s automatic album syncing was interfering with scheduled jobs from other plugins in some circumstances. This is fixed. Note that you also need WordPress 2.9.1 or higher, as this was related to a wp-cron bug in WordPress 2.9.
Also, I’ve installed the Subscribe to Comments plugin, so if you have a support question, you can get an email notification when I reply, instead of having to remember to check back.
UPDATE: I’ve made a couple bug fixes: v2.6.1 fixed another bug related to Windows servers, and v2.6.2 fixed a bug related to Google servers outside the US (see this comment for details).
Topic: Family and Friends
While I’ve been sporadically tweeting, I haven’t blogged much for a while. I also haven’t made much progress recently with Shashin updates. The culprit is my new job. I’ve been at it a month now, and I’m enjoying it. But it’s exercising parts of my brain that are out of shape, so I haven’t had the mental energy for blogging when I get home. We’re also hiring for two open positions, which means I’ve been spending a lot of time in interviews, so I’ve been taking some of my other work home.
After the interviews are done, and we’re no longer short-staffed, and after I whip the flabby parts of my brain into shape, I’m hoping to return to my usual blogging.