|Version 3 (modified by deltroo, 9 years ago) (diff)|
Search wiki and ticket attachments (.pdf, .doc,.ppt,...)
This plugin allows text integral search in attachments.
- adds a new Attachments source to the search page
- presents an excerpt of the documents in the result page
- supports any format with a command line tool for plain text conversion (filter command)
If you have any issues, create a new ticket.
Download the zipped source from [download:searchattachmentsplugin here].
searchattachments.* = enabled
swish = /usr/bin/local/swish-e
filter.doc = /usr/local/bin/catdoc -b "%s" > "%s"
filter.ppt = /usr/local/bin/catppt "%s" > "%s"
filter.pdf = /usr/bin/pdftotext "%s" "%s"
path to the swish-e command on your system.
command to use for converting a non-text format to text. The command takes a file as input (first %s) and writes the generated a text file in a file (second %s):