Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

JavaScript functions imported via either of the two means described above are passed to the Rhino script engine via the ScriptEngine.eval method which allows the functions to be called within the scope of the current document being harvested.

The "script" context does not have access to any of the objects described below (like "_doc").  It can only be used for declaring functions to be used in the entity/association/docGeo scriptlets.

 

Javascript Use Cases

In general terms, the use of javascript for IKANOWs falls into several major categories

...