Changeset 2506
- Timestamp:
- 2001-06-07T13:30:50+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/mgbuilder.pm
r2336 r2506 644 644 # init all the classifiers 645 645 &classify::init_classifiers ($self->{'classifiers'}); 646 646 647 647 648 # set up the document processor … … 655 656 $handle = mgbuilder::PIPEOUT; 656 657 } 657 658 658 659 $self->{'buildproc'}->set_output_handle ($handle); 659 660 $self->{'buildproc'}->set_mode ('infodb'); … … 664 665 $self->{'buildproc'}->set_store_text(1); 665 666 $self->{'buildproc'}->reset(); 666 667 667 668 if (defined $self->{'collect_cfg'}->{'collectionmeta'}) { 668 669 … … 691 692 } 692 693 694 693 695 &plugin::read ($self->{'pluginfo'}, $self->{'source_dir'}, 694 696 "", {}, $self->{'buildproc'}, $self->{'maxdocs'}); 695 697 696 698 # output classification information 697 699 &classify::output_classify_info ($self->{'classifiers'}, $handle, 698 700 $self->{'allclassifications'}); 701 702 703 704 #output doclist 705 my @doclist = $self->{'buildproc'}->get_doc_list(); 706 my $docs = join (";",@doclist); 707 print $handle "[browselist]\n"; 708 print $handle "<hastxt>0\n"; 709 print $handle "<childtype>VList\n"; 710 print $handle "<numleafdocs>" . ($#doclist+1) . "\n"; 711 print $handle "<thistype>Invisible\n"; 712 print $handle "<contains>$docs"; 713 print $handle "\n" . ('-' x 70) . "\n"; 699 714 700 715 close ($handle) if !$self->{'debug'};
Note:
See TracChangeset
for help on using the changeset viewer.