Make indexer not dependent on XPath

Bug #100169 reported by Kit Blake
4
Affects Status Importance Assigned to Milestone
Silva
Fix Released
High
Martijn Faassen

Bug Description

An indexer reads all the elements marked as index items in a publication
and creates a web version of an index (like in the back of a book). This
feature is implemented, partially using XPath, but since this introduces
another dependency, we'd like to do it in pure Python, and then make it
available to all Silva users.

Tags: xml
Revision history for this message
Martijn Faassen (faassen) wrote :

As a first step I checked it into CVS today. Removing the dependency
shouldn't be a big problem.

Revision history for this message
Martijn Faassen (faassen) wrote :

The plan is to include the indexer in the Silva core, right?
As soon as it's not dependent on XPathIndex anymore it's only
dependent on PyXML, which is already a requirement for Silva
through ParsedXML.

Revision history for this message
Kit Blake (kitblake) wrote :

This is a terrific feature, and we should include a demo of
the indexer in the demo for the next release. Let's not
resolve this issue until the demo is done.

Revision history for this message
Martijn Faassen (faassen) wrote :

Okay, now it should be added to the Silva CVS. Its preview
breaks on a default install, but I think that's because we
don't automatically install the page templates yet. If I
fake the existence of a 'frontend.css' it works.

One limitation is that it doesn't index 'index' documents
yet.

Revision history for this message
Martijn Faassen (faassen) wrote :

This seems to be working, and is thus resolved.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.