1 | <?php |
---|
2 | // This is a SPIP language file -- Ceci est un fichier langue de SPIP |
---|
3 | // extrait automatiquement de http://trad.spip.org/tradlang_module/paquet-fulltext?lang_cible=en |
---|
4 | // ** ne pas modifier le fichier ** |
---|
5 | |
---|
6 | if (!defined('_ECRIRE_INC_VERSION')) return; |
---|
7 | |
---|
8 | $GLOBALS[$GLOBALS['idx_lang']] = array( |
---|
9 | |
---|
10 | // F |
---|
11 | 'fulltext_description' => 'This plugin allows on one hand to use the FULLTEXT search mode of MySQL and thereby improve greatly the search engine compared to the native search engine of SPIP, and on the other hand to index the contents of some documents. |
---|
12 | -* exploit the FULLTEXT SEARCH IN BOOLEAN MODE of MySQL, cf. [->http://dev.mysql.com/doc/refman/5.0/en/fulltext-boolean.html] |
---|
13 | |
---|
14 | For an optimum use, you need to install additional programs and setting up their use in <code> mes_options.php</code> or via the plugin control panel: |
---|
15 | -** All types of documents must have a defined constant as <code>_FULLTEXT_EXT_EXE</code> (where EXT is the document extension) or equivalent in the plugin control panel. |
---|
16 | -** Document indexing is disabled by default (no constant defined). |
---|
17 | -* For {{PDF}} documents: |
---|
18 | -** Install [Xpdf->http://www.foolabs.com/xpdf/] |
---|
19 | -*** On [Ubuntu->http://packages.ubuntu.com/fr/hardy/xpdf-utils], |
---|
20 | -*** On Mac OS X via [MacPorts->http://xpdf.darwinports.com/] or with this [compiled version->http://users.phg-online.de/tk/MOSXS/xpdf-tools-3.dmg], |
---|
21 | -*** On [other OS->http://www.foolabs.com/xpdf/download.html] |
---|
22 | -** Define these constants (or use the control panel): |
---|
23 | -*** <code>_FULLTEXT_PDF_EXE</code> (for example <code>/usr/bin/pdftotext</code>) : path to the binary <code>pdftotext</code> of [Xdpf->http://www.foolabs.com/xpdf/] to transform PDF files in raw text |
---|
24 | -*** <code>_FULLTEXT_PDF_CMD_OPTIONS</code> (par exemple <code>-enc UTF-8</code>) : Options d\'appel de l\'exécutable |
---|
25 | -*<code>_FULLTEXT_TAILLE</code> : Taille maximum conservée pour la version texte des fichiers (50000 par défaut) |
---|
26 | -* For the {{DOC, PPT, XLS}} documents: |
---|
27 | -** Install [Catdoc->http://www.wagner.pp.ru/~vitus/software/catdoc/] |
---|
28 | -*** on [Ubuntu/Linux->http://www.wagner.pp.ru/~vitus/software/catdoc/], |
---|
29 | -*** on [Windows->http://blog.brush.co.nz/2009/09/catdoc-windows/] |
---|
30 | -** Define the corresponding constants (or use the control panel) the same way as for the PDF. |
---|
31 | -* For {{ODT, DOCX, PPTX, XLSX}} documents: |
---|
32 | -** Use PHP functions and classes (requires PHP 5.2 and the -enable-zip option). |
---|
33 | ', # NEW |
---|
34 | 'fulltext_slogan' => 'FULLTEXT indexation to speed up searches' |
---|
35 | ); |
---|
36 | |
---|
37 | ?> |
---|