Extension:External Data/Local programs

The parser function #get_program_data allows retrieval of data returned by a program run server-side.

Configuration
Every such program has to be confgured at  as in the example below:

Usage
After a program is configured, it can be invoked thus: and then the retrieved data (SVG in this case) can be shown with pair, which will prevent any wiki postprocessing.

All of the parsing-related parameters that #get_web_data supports (format, delimiter, use xpath, etc.) can be used for #get_program_data as well; see.

Tag emulation
A simplified syntax is available in tag emulation mode: pair.

Simple example
A simpler example, involving only text processing, is below: and

Although programs are run in a restricted environment by, wiki admin should exercise great caution while configuring programs to make them callable with #get_program_data.

Program's output is cached in the table  as configured by the parser function parameters: and configuration settings:

A set of tested examples can be found here and (with working output) here.