9 FSI Pages Add-on
257
NeptuneLabs - FSI Viewer
By default FSI Server searches the IPTC data sets that FSI Pages Converter stores
the keywords in only: iptc.caption and iptc.fsi_search_data.
If your images do not yet contain keywords you might want to add keywords to the
corresponding IPTC data sets of your images. If you are using a PDF document as a
source for your FSI Pages instance you can have FSI Pages Converter version 2
create IPTC keyword data for all pages based on the content of the PDF document.
Please refer to the "Text Search" section of FSI Pages Converter in this case.
In case you want FSI Pages to search all (or other) IPTC data sets, please use the
FSI Pages parameter "SearchQueryTemplate". The default value when using FSI
Server is:
iptc.caption:%%searchtext%%%20iptc.fsi_ search_ data:%%searchtext%%
which limits the search to the two given IPTC sets. To search in all data sets
available, modify the parameter value to: %%searchtext%%
Using external Severs to return Search Results
Alternatively to using imaging server you might want to use an existing database on
an external server to perform the search. In this case FSI Pages provides a
simpleinterface you can use to have FSI Pages direct the search to and retrieve the
results from the external server.
This is by nature an advanced feature and requires some server side. scripting and
database knowledge. The following section describes the required steps based on
the assumption that your database contains a unique ID for each FSI Pages
instance (catalog) and the required keywords.
Directing the search query to your server side script
Please use the FSI Pages parameter
→ SearchCustomURL to provide the URL to
the script on your server performing the search and returning the XML based
results. To identify the FSI Pages instance (catalog) to return results for, you might
need to pass a value identifying the catalog. This can be done using the FSI Pages
Parameter
→ SearchCustomValue Both parameters can – as usual – be specified
by query or by adding the parameter to a configuration file.
Configuration parameters for external searching
<Plugins>
...
<Plugin src="pages" >
<SearchCustomURL value=
"http://foo.com/search.php" />
<SearchCustomValue value="12345" />
</Plugin>
...
</Plugins>