Back to index

moin  1.9.0~rc2
RenderAsDocbook.py
Go to the documentation of this file.
00001 """
00002     MoinMoin - Render as DocBook action - redirects to the DocBook formatter
00003 
00004     @copyright: 2005 MoinMoin:AlexanderSchremmer
00005     @license: GNU GPL, see COPYING for details.
00006 """
00007 
00008 from MoinMoin.Page import Page
00009 
00010 def execute(pagename, request):
00011     url = Page(request, pagename).url(request, {'action': 'show', 'mimetype': 'text/docbook'})
00012     return request.http_redirect(url)
00013