view MoinMoin/xmlrpc/HelloWorld.py @ 2374:629dea07759f

do not parse single-quoted page names as quoted fixes bugs with ['text_html'] being a link
author Johannes Berg <johannes AT sipsolutions DOT net>
date Thu, 12 Jul 2007 14:40:06 +0200
parents 3475126f78c6
children
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - This is just a sample for a xmlrpc plugin

    @copyright: 2005 MoinMoin:ThomasWaldmann
    @license: GNU GPL, see COPYING for details.
"""

def execute(xmlrpcobj, *args):
    text = args[0]
    return xmlrpcobj._outstr("Hello World!\n" + text)