On Mon, Nov 21, 2005 at 08:02:32AM -0800, J. David Boyd wrote:
> Is it possible to hook into the index generation code of swish-e, and
> insert my own translation code, such that when the indexer sees
> S2171_TABLE.pdf, I can look in my translation table, and stuff the value
> 'Module 72 Tables' to be displayed in the hyperlink of the search
> result? Of course, the hyperlink still has to point to the original file.
Easily. It should already do that, but maybe you don't have titles in
your pdf docs.
Anyway, in SWISH::Filters::Pdf2HTML (assuming that's what you are
using just set the title:
$title ||= lookup_title( $file_name );
--
Bill Moseley
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
swish-e@sunsite.berkeley.edu
Received on Mon Nov 21 08:18:59 2005