index-webjump: New module to define webjumps for index pages.
commit1fa1a0e6a58d389a8e651b660934d9e5115be15f
authorDavid Kettler <kettler@internode.on.net>
Sun, 28 Jun 2009 14:27:33 +0000 (28 23:57 +0930)
committerDavid Kettler <kettler@internode.on.net>
Wed, 18 Nov 2009 13:19:34 +0000 (18 23:49 +1030)
treeecadfdf8b11034d1c7c0263ed3642dc6659f66a9
parent2005f2e5f2ec809f8733886714b61a389cf2b10b
index-webjump: New module to define webjumps for index pages.

Index webjumps provide convenient access, with completion, to a set of
web pages that are indexed (referenced) from another page.  For
instance, webjumps for documentation (e.g., git, ImageMagick) are easy
to define.

A webjump to access URLs referenced from an index page is defined
using define_xpath_webjump.  An xpath expression is used to extract
the indexed URLs and the anchor text; this provides completion for the
webjump.  The completion must be enabled using webjump-get-index once
for each index webjump.

This module also subsumes define_gitweb_summary_webjump, which results
in changes to how gitweb webjumps are set up.
modules/gitweb-webjump.js [deleted file]
modules/index-webjump.js [new file with mode: 0644]