03.02.2010 14:00 by Hans Nuecke (comments: 0)
old Blog Article; moved from vservu.com
This overview is intended to give you a first idea. Details can be found in the Wiki.
The search function is available since version 2.0.4 and it only works together with SWF pages.
To make a document searchable, you need a text file that is used as an index file for the search.
All key words must be listed in a page structure. One way to create such file is with Adobe Acrobat Pro:
EN: File - Export - Text - Text (available)
DE: Datei - Export - Text - Text (verfügbar)
The exported text file must be placed in the folder megazine/plugins/scripts/index
The given name of that file must be declared in the MZ3 file (see below)
Depending on the numbering scheme of your book you might have to adjust the starting page number in setting the pageoffset.
The search plugin must be declared in the book element, together with other parameters if the default values are not correct.
<book plugins="search, .." .. .. qualitycontrol="false" searchindex="my-book" searchmethod="server" searchclear="false" ... ... >
qualitycontrol=false can improve performance of SWF pages, since unneeded resolution switches are avoided.
searchindex defines the name of the text file created with Acrobat Pro
searchmethod defines if the search is performed on the server or the client
searchclear defines if the input box will be cleared or not
Other parameter to set:
You might have to convert that text to UTF8 format (e.g. using Notepad++ for that). Use of special characters also might be critical and result in non acceptance.