Scriptogr.am has a very simple api that allows one to POST
and
DELETE
articles. POST
ing 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.am
user id into $USER_ID
.