Ignore:
Timestamp:
2017-03-13T11:12:37+13:00 (7 years ago)
Author:
kjdon
Message:

renamed EncodingUtil to CommonUtil, BasePlugin to BaseImporter. The idea is that only top level plugins that you can specify in your collection get to have plugin in their name. Modified all other plugins to reflect these name changes

File:
1 edited

Legend:

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

    r31480 r31492  
    6262my $arguments =
    6363    [ { 'name' => "process_exp",
    64     'desc' => "{BasePlugin.process_exp}",
     64    'desc' => "{BaseImporter.process_exp}",
    6565    'type' => "regexp",
    6666    'deft' =>  &get_default_process_exp() },
    6767      { 'name' => "block_exp",
    68     'desc' => "{BasePlugin.block_exp}",
     68    'desc' => "{BaseImporter.block_exp}",
    6969    'type' => 'regexp',
    7070    'deft' =>  &get_default_block_exp() },
     
    127127    'type' => "flag"},
    128128      {'name' => "processing_tmp_files",
    129        'desc' => "{BasePlugin.processing_tmp_files}",
     129       'desc' => "{BaseImporter.processing_tmp_files}",
    130130       'type' => "flag",
    131131       'hiddengli' => "yes"}
     
    12841284        my $filename_encoding =  $self->guess_filesystem_encoding(); 
    12851285       
    1286         # copied this from set_Source_metadata in BasePlugin
     1286        # copied this from set_Source_metadata in BaseImporter
    12871287        if ((defined $filename_encoding) && ($filename_encoding ne "ascii")) {
    12881288        # Use filename_encoding to map raw filename to a Perl unicode-aware string
Note: See TracChangeset for help on using the changeset viewer.