view MoinMoin/action/RenderAsDocbook.py @ 618:e0cbf33ff15c

remove MoinMoinNoFooter (not needed and more), please call theme.send_closing_html() for closing what send_title() opened
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 05 May 2006 13:46:34 +0200
parents ee1c9e86b393
children ad2ac49d17fe
line wrap: on
line source
"""
    MoinMoin - Render as DocBook action - redirects to the DocBook formatter

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

from MoinMoin.Page import Page

def execute(pagename, request):
    url = Page(request, pagename).url(request, {'action': 'format',
                                                'mimetype': 'xml/docbook'}, 0)
    request.http_redirect(url)