s3cmd, Pelican, and You

Posted on Sun 11 September 2011 in Development • Tagged with pelican, s3

Turns out uploading this blog to Amazon S3 using s3cmd is ridiculously simple. All I have to do to sync the Pelican generated directory to my S3 bucket is the follwing:

s3cmd sync --acl-public --delete-removed output/ s3://www.bensnider.com/

The sync command basically works like rsync; it uses the ...


Continue reading

Simple Pelican Blog Post Template Generator

Posted on Sun 11 September 2011 in Development • Tagged with python, pelican

I just finished a simple script that helps generate Pelican blog posts by printing out some reStructuredText, in the format Pelican expects, based on the given input parameters. You can use it simple as in the following listing:

./tools/pelican-template-generator.py "My New Post"

And it will generate the reStructuredText ...


Continue reading