view MoinMoin/script/old/xmlrpc-tools/HelloWorld.py @ 3115:cd6cfc715261

replace wikiwikiweb.de by moinmo.in, replace contact Juergen Hermann by Thomas Waldmann, cleanup wikiconfig (ported from 1.6)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 25 Feb 2008 23:53:55 +0100
parents ef41e35985dc
children
line wrap: on
line source

#!/usr/bin/env python
"""
This script is a sample for xmlrpc calls.

It calls the HelloWorld.py xmlrpc plugin.

GPL software, 2003-08-10 Thomas Waldmann
"""

def run():
    import xmlrpclib
    srcwiki = xmlrpclib.ServerProxy("http://master.moinmo.in/?action=xmlrpc2")
    print srcwiki.HelloWorld("Hello Wiki User!\n")

if __name__ == "__main__":
    run()