Fargo to S3

I've been thinking about how to move my new posts created with Fargo over to blog.curry.com, which is static files, hosted on Amazon S3.

The main objective is to preserve all previous posts that have been created at blog.curry.com through the scripting2 tool in the opml editor.

After ample research, I decided to use wget and s3cmd to mirror the adam.smallpict.com site to blog.curry.com

Here's a script that I used in a slight modified form to make it work

This works nicely, since the folder structure of yyy/mm/dd remains the same and so nothing pre-existing got 'clobbered'

So now after publishing a post, I trigger the 'updateblog' script, and all new files and the feed file (rss.xml) are updated.

[postscript]

  • I"m realizing this isn't the most efficient way to do this, and am investigating how to tweak the scripts to only transfer files that have changed since last update.

Last built: Wed, Jan 8, 2014 at 2:20 PM

By Adam Curry, Wednesday, August 7, 2013 at 8:51 AM.