wiki:SearchAttachmentsPlugin

Version 1 (modified by deltroo, 17 years ago) (diff)

New hack SearchAttachmentsPlugin, created by deltroo

Plugin for searching wiki and ticket attachments

Notice: This plugin is unmaintained and available for adoption.

Description

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)

Bugs/Feature Requests

Existing bugs and feature requests for SearchAttachmentsPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:searchattachmentsplugin here].

Source

You can check out SearchAttachmentsPlugin from here using Subversion, or browse the source with Trac.

Example

[components]
searchattachments.* = enabled

[attachment]
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"

swish

path to the swish-e command on your system.

filter.*

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):

Recent Changes

15177 by rjollos on 2016-01-26 18:12:25
0.2dev: Fix indentation using reindent.py
14892 by rjollos on 2015-08-28 00:22:07
Convert to datetime. Untested patch by srl100@…. Fixes #4930.
14470 by rjollos on 2015-02-27 21:50:21
Branching for Trac 1.0.
(more)

Author/Contributors

Author: deltroo
Contributors: