Changeset 461 for trunk/gsdl/perllib
- Timestamp:
- 1999-08-13T16:21:40+12:00 (25 years ago)
- Location:
- trunk/gsdl/perllib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/colcfg.pm
r139 r461 27 27 'archivedir|cachedir|builddir|textindex|removeold)$', 28 28 '^(maintainer|languages|indexsubcollections|indexes|plugins)$', 29 '^(subcollection )$');29 '^(subcollection|collectionmeta)$'); 30 30 } 31 31 … … 37 37 'archivedir|cachedir|builddir|textindex|removeold)$', 38 38 '^(maintainer|languages|indexsubcollections|indexes|plugins)$', 39 '^(subcollection )$');39 '^(subcollection|collectionmeta)$'); 40 40 } 41 41 -
trunk/gsdl/perllib/mgbuilder.pm
r378 r461 504 504 $self->{'buildproc'}->reset(); 505 505 506 if (defined $self->{'collect_cfg'}->{'collectionmeta'}) { 507 508 if (!defined $self->{'index_mapping'}) { 509 $self->{'index_mapping'} = 510 $self->create_index_mapping ($self->{'collect_cfg'}->{'indexes'}); 511 } 512 513 print PIPEOUT "[collection]\n"; 514 515 foreach $cmeta (keys (%{$self->{'collect_cfg'}->{'collectionmeta'}})) { 516 if ($cmeta =~ s/^\.//) { 517 if (defined $self->{'index_mapping'}->{$cmeta}) { 518 print PIPEOUT "<$self->{'index_mapping'}->{$cmeta}>" . 519 $self->{'collect_cfg'}->{'collectionmeta'}->{".$cmeta"} . "\n"; 520 } else { 521 print STDERR "mgbuilder: warning bad collectionmeta option '$cmeta' - ignored\n"; 522 } 523 } else { 524 print PIPEOUT "<$cmeta>$self->{'collect_cfg'}->{'collectionmeta'}->{$cmeta}\n"; 525 } 526 } 527 print PIPEOUT "\n" . ('-' x 70) . "\n"; 528 529 } 530 531 506 532 &plugin::read ($self->{'pluginfo'}, $self->{'source_dir'}, 507 533 "", {}, $self->{'buildproc'}, $self->{'maxdocs'});
Note:
See TracChangeset
for help on using the changeset viewer.