Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (16 sloc) 610 Bytes
Script to watch a blogger and cross post to tumblr.
This is a hack with several weaknesses, including:
(1) posts will be lost if made at higher frequency than sampling
(2) updated blogger posts will be double posted to tumblr
Depends on curl.
crontab shows example of sampling every 10 minutes.
To install, set variables at top of xpost.sh:
ROOT="/PATH/TO/THIS/DIR"
USER="EMAIL"
PASS="PASSWORD"
GRUP="http://FOO.tumblr.com/"
BLOG="http://FOO.blogspot.com"
and update path in crontab:
*/10 * * * * /path/to/this/dir/xpost.sh
then install the crontab:
$ crontab crontab