Page MenuHomePhabricator

out-of-band communication with extensions
Closed, ResolvedPublic

Description

Author: Jan

Description:
Many external programs that would be handy from custom extensions have both a data set that drives them, and a bunch of
attributes that modify how the data set is interpreted.

For example, Graphviz has a simple data format, but there are several layout engines available. You don't really want to
pollute the data with such metadata. Another example is Ploticus, which has a simple data format, modified by a slew of
command line switches.

I propose the following XML-compatible extension to extensions:

<ext key1=value1 key2=value2 ... > (extension data goes here) </ext>

The key/value pairs are packaged up in an associative array and passed as an optional second argument to the registered
extension function.

For example:

<somethingThatDrawsImages style="float:right"> would allow graphics to be better integrated with pages
<graphviz layout=neato> would allow non-hierarchical layout


Version: 1.4.x
Severity: enhancement
OS: Mac OS X 10.3
Platform: Macintosh
URL: http://www.IslandSeeds.org/wiki/Test:Graphviz

Details

Reference
bz1726

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:16 PM
bzimport set Reference to bz1726.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of 684 ***