Attachment 'application_pdf.py'
Download 1 # -*- coding: iso-8859-1 -*-
2 """
3 MoinMoin - PDF filter
4
5 Depends on: pdftotext command from xpdf-utils 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('pdftotext -enc UTF-8 "%s" -', filename)
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.