Automagically posting to Twitter - [8:35 AM]
James Robertson: "So - I've had the server sending updated to Twitter every time I post for awhile now. The implementation was pretty lame though - I dropped two methods directly into my BlogEntry class and had it do the update. I finally decided that this was a smelly, and built a small package (MiniTwit in the public store.) There are two classes - a Settings class, to make it possible to set up a simple ini file, and the class that does the work. The code is dead simple:" - I've really been after this capability in my favorite weblogging client, MarsEdit, for a while now. I'm hoping Mr. Jalkut will add an 'after post' event, with data that informs me if it's new or a repost, so I can grab it and post a message to Twitter. You gotta love AppleScript!
James has given the Smalltalk crowd a leg up. He's written the code for you. Lucky dogs.
Labels: Smalltalk
comment





