Commandline tools for Æther

Editing this page in the 'vim' editor
This Python program can create new pages, edit existing pages, and upload files to an Aether blog. It doesn't require access to the filesystem, but does everything through the regular HTTP interface.

Requirements: Python 2.3 or better (for tempfile.mkstemp) and ClientForm 0.1.17 or better. (Earlier versions may appear to work, but some have problems when the page contains certain characters)


python page
Edit page in your $EDITOR. Each time the file is written, it is previewed in the browser. When you're satisfied with the results, click the "save" button in the browser.

python -n blogpage
Edit a new blog entry for the blog at blogpage. Works just like the above, except for automatically choosing the number for the new blog entry.

python -u page localfile...
python -u page remotefile=localfile...
Upload localfile, optionally renaming it to remotefile (which should not contain any "/" characters, if it is specified). remotefile defaults to the basename of localfile.

To specify the location of your aether website, use the -r (aether root) commandline option, or edit the AETHER_TOP assignment near the top of this script.


Files currently attached to this page:


Entry first conceived on 16 May 2005, 13:36 UTC, last modified on 15 January 2012, 3:46 UTC
Website Copyright © 2004-2021 Jeff Epler