Ignore:
Timestamp:
2012-01-16T17:47:14+13:00 (12 years ago)
Author:
ak19
Message:

All perlcode that accesses extrametakeys, extrametadata, extrametafile data structures has been moved into a new perl module called extrametautil.pm. The next step will be to ensure that the file_regexes used to index into these data structures are consistent (using consistent slashes, like URL style slashes).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/DSpacePlugin.pm

    r24355 r24951  
    4747package DSpacePlugin;
    4848
     49use extrametautil;
    4950use ReadTextFile;
    5051use plugin;
     
    298299    }
    299300    }
    300     push(@$extrametakeys,$file_re);
     301    &extrametautil::addmetakey($extrametakeys, $file_re);
    301302
    302303    # See Format's Extent section in http://dublincore.org/documents/usageguide/qualifiers.shtml
     
    331332    }
    332333   
    333     $extrametadata->{$file_re} = $self->{'saved_metadata'};
     334    &extrametautil::setmetadata($extrametadata, $file_re, $self->{'saved_metadata'});
    334335
    335336    return 1;
Note: See TracChangeset for help on using the changeset viewer.