Attachment 'application_msword.py'
Download 1 # -*- coding: iso-8859-1 -*-
2 """
3 MoinMoin - msword filter
4
5 Depends on: antiword command from antiword package
6
7 @copyright: 2006 MoinMoin:ThomasWaldmann
8 @license: GNU GPL, see COPYING for details.
9 """
10
11 from MoinMoin.filter import execfilter
12
13 def execute(indexobj, filename):
14 return execfilter('antiword "%s"', filename) # no HOME makes antiword complain
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.