intertwingly

It’s just data

XPath Sifter


Just for grins, I created an xpath_sifter filter for Venus.  As the name suggests, it allows you to filter for the existence or non-existence of any XPath expression.  You can also find an example of how it would be used in the tests/data/filter directory.

If you don’t like XPath, other filters can be written.  If you do like regular expressions, they can also be used in XPath expressions.

I’ve been running this code for several weeks now, and it seems stable.  Patches, tests, bug reports, filters, and themes are all welcome.  I’ve already pulled in a change from Mary Gardiner and multiple changes each from Elias Torres and Jacques Distler.  Two others have indicated that they are looking into making changes.  There is no need to ask permission, if you have an itch to be scratched, simply do a bzr get and start hacking.

Update: High praise, from Jeff Waugh.