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.
  • [get | view] (2008-08-12 16:25:08, 0.4 KB) [[attachment:application_msword.py]]
  • [get | view] (2008-08-12 16:25:25, 0.3 KB) [[attachment:application_pdf.py]]
  • [get | view] (2008-08-12 16:25:39, 0.6 KB) [[attachment:application_vnd_ms_excel.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.