skip to navigation
skip to content

MoinPost 0.1.2dev

script which allows for posting of <whatever> to Moin wiki

Given a local file and wiki destination, the moinpost script will post the file contents to said destination, assuming one's user rights/ACLs allows one to do so.

This script currently depends on twill to perform stateful automated browser magic, as Moin expects certain session-specific variables in the POST.

Usage:

$ moinpost <local-file> <wiki-url> [-c <config>] [options]

MoinPost script for posting random stuff as Moin wiki pages.
Supply a local file and wiki destination to post to said wiki.
The '-c' config option may be passed if using a config file other than
'~/.moinpostrc'.


One's '~/.moinpostrc' file should be in 'config' or 'ini' format with
individual wikis defined in sections like this:

    [wiki:<wiki-hostname>]
    login = <your-wiki-name>:<your-wiki-password>

e.g.:
    [wiki:thewiki.atmycompany.com]
    login = WikiNameThatsMine:eJzzrQw3zDYMMDEtLjcoSgEAIZwElA==

The only two keywords here are the word 'wiki' in the section header, and
the word 'login' as the option key.


*** NOTE ON PASSWORDS ***
    The password *may* be stored in clear text, but moinpost will first
    attempt to base64 and zlib decode the password string, so you should
    consider storing it in such an encoding (super minimal security, yes.)

e.g. in Python:
    "MyW1k1P45sw0rd".encode('zlib').encode('base64').strip()
                                               /
       "eJzzrQw3zDYMMDEtLjcoSgEAIZwElA==" <---'
File Type Py Version Uploaded on Size # downloads
MoinPost-0.1.2dev.tar.bz2 (md5) Source 2008-06-27 18:03:44 28KB 158
MoinPost-0.1.2dev-py2.5.egg (md5) Python Egg 2.5 2008-06-27 18:03:35 8KB 185
MoinPost-0.1.2dev.zip (md5) Source 2008-06-27 18:03:45 31KB 118
MoinPost-0.1.2dev.tar.gz (md5) Source 2008-06-27 18:03:45 28KB 127

Log in to rate this package.