12 Plug-in Reference
463
NeptuneLabs - FSI Viewer
12.22 PagesLibrary
Plug-in Extends:
• FSI Pages mobile
Plug-in Location:
/plugins/pageslibrary.swf
Function
:
Provides access to a list of additional publications
to the user.
Syntax:
<Plugin src="pageslibrary" datafile="library.xml" />
Display a list of former publications to the user to choose from. The list of
publications is defined using XML in the specified datafile. The value of the
parameter datafile needs to be pageslibrary in order for the tag to work.
Plug-in Parameters
DataFile
Description
URL to an external XML file describing the library structure
Syntax
String
Default
—
Context
Plug-in tag
Relative URL to an external XML file to provide the XML data required for this plug-in.
The XML file must be located in the same domain as FSI Viewer to avoid cross-
domain security restrictions.
The XML file contains a list of items to display in the library dialog.
Each item must contain the following attributes:
src = the path to the images for this publication. The first image will be used
to display the thumbnail.
label = optional description of the publication
cfg = the configuration file to open if the user clicks the thumbnail
See "Library XML data structure" below for details and an example.