Ignore:
Timestamp:
2013-06-24T17:23:04+12:00 (11 years ago)
Author:
ak19
Message:

Dr Bainbridge fixed it so that the gdb files generated on Windows for diffcol match those on Linux. This actually involved changing the order in which docids appear in archiveinf-doc. This last needed the newly invented flag -sort to the ArchivesInfPlugin in combination with -sortmeta OID to import.pl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugouts/BasePlugout.pm

    r27646 r27697  
    477477    my $output_info = $self->{'output_info'};
    478478    my $metaname = $self->{'sortmeta'};
     479   
    479480    if (!defined $metaname || $metaname !~ /\S/) {
    480     $output_info->add_info($doc_obj->get_OID(),$self->{'short_doc_file'}, undef, "");
     481    my $OID = $doc_obj->get_OID();
     482    $output_info->add_info($OID,$self->{'short_doc_file'}, undef, "");
    481483    return;
    482484    }
     485   
     486    if ($metaname eq "OID") { # sort by OID
     487    my $OID = $doc_obj->get_OID();
     488    $output_info->add_info($OID,$self->{'short_doc_file'}, undef, $OID);
     489    return;
     490    }
    483491   
    484492    my $metadata = "";
Note: See TracChangeset for help on using the changeset viewer.