Changeset 2956
- Timestamp:
- 2002-02-07T16:44:47+13:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/AZCompactList.pm
r2955 r2956 399 399 ## date appears to not be used in classifier call #### 400 400 401 if ($doc_OID =~ m/^.*\.(\d+)$/) 402 { 403 $self->{'classifiers'}->{$node_name}->{'classifyobj'} 404 ->classify($doc_obj, "Section=$1"); 401 if ($doc_OID =~ m/^[^\.]*\.([\d\.]+)$/) 402 { 403 my $section=$1; 404 if ($self->{'doclevel'} =~ m/^top/i) { # toplevel 405 $self->{'classifiers'}->{$node_name}->{'classifyobj'} 406 ->classify($doc_obj, "Section=$section"); 407 } else { # section level 408 # Thanks to Don Gourley for this... 409 # classify can't handle multi-level section 410 $self->{'classifiers'}->{$node_name}->{'classifyobj'} 411 ->classify_section($section, $doc_obj, $date); 412 } 405 413 } 406 414 else
Note:
See TracChangeset
for help on using the changeset viewer.