| 1 | = Plugin for searching wiki and ticket attachments = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | This plugin allows text integral search in attachments. |
| 6 | * adds a new '''Attachments''' source to the search page |
| 7 | * presents an excerpt of the documents in the result page |
| 8 | * supports any format with a command line tool for plain text conversion (filter command) |
| 9 | |
| 10 | == Bugs/Feature Requests == |
| 11 | |
| 12 | Existing bugs and feature requests for SearchAttachmentsPlugin are |
| 13 | [report:9?COMPONENT=SearchAttachmentsPlugin here]. |
| 14 | |
| 15 | If you have any issues, create a |
| 16 | [http://trac-hacks.org/newticket?component=SearchAttachmentsPlugin&owner=deltroo new ticket]. |
| 17 | |
| 18 | == Download == |
| 19 | |
| 20 | Download the zipped source from [download:searchattachmentsplugin here]. |
| 21 | |
| 22 | == Source == |
| 23 | |
| 24 | You can check out SearchAttachmentsPlugin from [http://trac-hacks.org/svn/searchattachmentsplugin here] using Subversion, or [source:searchattachmentsplugin browse the source] with Trac. |
| 25 | |
| 26 | == Example == |
| 27 | |
| 28 | [components][[BR]] |
| 29 | searchattachments.* = enabled[[BR]] |
| 30 | [[BR]] |
| 31 | [attachment][[BR]] |
| 32 | swish = /usr/bin/local/swish-e[[BR]] |
| 33 | filter.doc = /usr/local/bin/catdoc -b "%s" > "%s"[[BR]] |
| 34 | filter.ppt = /usr/local/bin/catppt "%s" > "%s"[[BR]] |
| 35 | filter.pdf = /usr/bin/pdftotext "%s" "%s"[[BR]] |
| 36 | [[BR]] |
| 37 | ''swish'' |
| 38 | path to the swish-e command on your system. |
| 39 | |
| 40 | ''filter.*'' |
| 41 | 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''): |
| 42 | |
| 43 | |
| 44 | == Recent Changes == |
| 45 | |
| 46 | [[ChangeLog(searchattachmentsplugin, 3)]] |
| 47 | |
| 48 | == Author/Contributors == |
| 49 | |
| 50 | '''Author:''' [wiki:deltroo] [[BR]] |
| 51 | '''Contributors:''' |