DlfCategoriser->init $config = {}

Joost Bekkers joost at jodocus.org
Thu Jul 21 11:54:59 CEST 2005


Hi

I'm building my own DlfCategoriser with the dev-manual as my guide.
When the init sub is called the $config param contains a ref to an
empty hash. Looking at the example it should be an array containing
the configuration for the categoriser, right?

I found out why it is an empty hash:

ReportConfig.pm:637

my $process = new Lire::DlfAnalyserProcess( $store,
					    $analysers->[0]->name(),
					    {} );

But I can't quite figure out what should go there.


On a side note, the example config spec doc/example/page-categoriser.xml
contains to closing </lrcsml:list> tags but only one opening tag.

thanks

-- 
greetz Joost
joost at jodocus.org

-- 
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of 
"unsubscribe". Trouble? Send an email with subject "help" to 
questions-request at logreport.org



More information about the Questions mailing list