Changeset 22552


Ignore:
Timestamp:
2010-08-02T11:00:20+12:00 (14 years ago)
Author:
kjdon
Message:

by default we want this to process all files, so changed default process exp to .*. Then in metadata read, madeit check process_exp before processing the file, otherwise can't restrict processing to certain types of documents

File:
1 edited

Legend:

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

    r22451 r22552  
    8686sub get_default_process_exp()
    8787{
    88     return "";
     88    return ".*";
    8989    #q^(?i)\.(wma|wmv|jpe?g|gif)$^;
    9090}
     
    208208 
    209209  # we don't want to process directories
    210   if (!-f $filename_full_path) {
     210  if (!-f $filename_full_path || !$self->can_process_this_file($filename_full_path)) {
    211211      return undef;
    212212  }
Note: See TracChangeset for help on using the changeset viewer.