webjump: simple POST webjumps
commit302e86c35f23ed9385ba4532b4769f6c283a7349
authorDavid Kettler <kettler@internode.on.net>
Mon, 12 Sep 2011 13:41:10 +0000 (12 23:11 +0930)
committerJohn Foerch <jjfoerch@earthlink.net>
Sun, 25 Sep 2011 20:58:44 +0000 (25 16:58 -0400)
treec307ec6fe38313cf18d7baad41e95f7fde11eb76
parentc53588e0e42330f65e8c3be41900900da17a7eda
webjump: simple POST webjumps

A string webjump can now provide post_data, with replacement of '%s'
elements with the webjump arguments.  This allows simple definition
of webjumps that perform an http POST in the following form:

define_webjump("example", "http://example.com/",
               $post_data=[['search', '%s']]);

Note that only a literal '%s' is replaced, rather than that sequence
anywhere in a string; it's not clear that the latter is useful in
post_data.
modules/webjump.js