Posting to Scriptogr.am using the API

Scriptogr.am has a very simple api that allows one to POST and DELETE articles. POSTing an article will place it in the appropriate Dropbox directory and make it available on your blog all in one step. Here is how you could use this API via Curl: curl \ -d app_key=$APP_KEY \ -d user_id=$USER_ID \ -d name="${title:-$1}" \ –data-urlencode text@$tmpfile \ \ http://scriptogr.am/api/article/post/ This assumes that you’ve registered for an application key and that you have configured the value into $APP_KEY and your Scriptogr.
read more →

Retrieving Blogger posts by post id

I spent some time recently trying to figure out, using Google’s gdata API, how to retrieve a post from a Blogger blog if I know corresponding post id. As far as I can tell there is no obvious way of doing this, at least not using the gdata.blogger.client api, but after much nashing of teeth I came up with the following solution. Given client, a gdata.blogger.client instance, and blog, a gdata.
read more →