Loading...
 
This page should be merged with Check file indexing



Starting in Tiki8, many handlers are included in the code

Starting in Tiki10, Tiki can natively index .docx, .xlsx and .pptx files. So you no longer need to install anything. It will even work on shared hosting!

Starting in Tiki18, Tiki can natively index .pdf files



Search within files


If you want the content of the files which are in the File Gallery to be accessible by a search, and if you have a script that extracts the file content into a text, you can associate the script to the Mime type and the files content will be indexed.

If you want to search on files in the file galleries, you must provide handlers to extract the text for the file’s MIME type. The commands, such as strings or pdftotext must exist on your server. The type-command associations are defined in the Indexing tab of the Admin: File Gallery page.

To check support on your server, use Tiki Check.


MIME Type System command Ubuntu/Debian package with command
application/vnd.oasis.opendocument.presentation odt2txt %1  odt2txt
application/vnd.oasis.opendocument.spreadsheet odt2txt %1  odt2txt
application/vnd.oasis.opendocument.text odt2txt %1  odt2txt
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx2txt.pl %1 -
application/ms-excel xls2csv %1  catdoc
application/ms-powerpoint catppt %1  catdoc
application/msword catdoc %1 
or
strings %1
catdoc
application/pdf pstotext %1 
or
pdftotext %1 -
poppler-utils or pstotext
application/postscript pstotext %1  pstotext
application/ps pstotext %1  pstotext
application/rtf catdoc %1  catdoc
application/sgml col -b %1 
or
strings %1 
bsdmainutils
application/vnd.ms-excel xls2csv %1  catdoc
application/vnd.ms-powerpoint catppt %1  catdoc
application/x-msexcel xls2csv %1  catdoc
application/x-pdf pstotext %1  poppler-utils or pstotext
application/x-troff-man man -l %1  man-db
text/enriched col -b %1 
or
strings %1 
bsdmainutils
text/html elinks -dump -no-home %1  elinks
text/plain col -b %1 
or
strings %1
bsdmainutils
text/richtext col -b %1 
or
strings %1
bsdmainutils
text/sgml col -b %1 
or
strings %1
bsdmainutils
text/tab-separated-values col -b %1 
or
strings %1
bsdmainutils



Several tools can be used to extract search strings; many Unix sites have “strings”, which can detect things which appear to be text within files although without the accuracy of more specialized tools.

Ensure that the system command entered prints its output to the screen (standard output) and not to a file. Try the command on a console and check the manual. E.g. you have to add a trailing “-” to pdftotext.

It might be needed to clear the Tiki Cache after installing a new handler for the system to pick it up.

It’s better if you have fileinfo installed to avoid misidentified mimetypes (install php-pear if you are using php < 5.3).

To install all required packages in a Debian-based server, you can use this command:
sudo apt-get install bsdmainutils catdoc elinks man-db odt2txt php-pear pstotext


To install required packages on ClearOS:
http://wikisuite.org/How-to-configure-ClearOS-to-permit-Tiki-Wiki-CMS-Groupware-to-search-within-files

Related:

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as “hubs” for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki
Show php error messages