After tackling the Wix learning curve, I have an installer for my SmugMug plugin does usual things: check for .NET 2.0, install the files, add the registry key to register the plugin, and support upgrading in place. One step closer to releasing this plugin for Windows Live Writer.
Meanwhile, over at SmugMug, a security issue of sorts popped up. Don MacAskill, the CEO of SmugMug, blogged about it with great detail and openness and I'm not going into it here. At any rate, in response to what was perceived to be a security, SmugMug is implementing some changes to their API. The changes were fairly trivial to implement so it made sense to augment my plugin's code to be compliant with the updated API.
With their recent changes, I saw that my plugin was no longer displaying images for one of my test galleries, where it had worked before. I spent a hour or so trying to track it down in my code, when the clue light finally flickered above my head. I logged into my SmugMug account and examined the properties of that gallery.
Sure enough, for that gallery, the "allow external links" option was set to "No". This meant that even though my plugin would return valid URL's for the images in that gallery, SmugMug would send back a blank page for those URL's. I augmented my call to get the gallery list to check the properties for each gallery and filter out the ones that did not allow external linking.
I thought that there would be performance hit for making a web service call for each gallery. It wasn't really noticeable at all. That's what I love about SmugMug, their API performance is damn fast.
At any rate, I was hoping to finally push this plugin out the door by now, but I'm going to take a few more days and beat on the code.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.