Show
Ignore:
Timestamp:
16.08.2011 21:17:46 (8 years ago)
Author:
ak19
Message:

To do with EmbeddedMetadataPlugin?: 1.mkcol.pl and GLI changes puts the plugin in the bottom four plugins of the plugin pipeline. 2. EmbeddedMetadataPlugin? and PDFPlugin are modified to work together again after the recent changes (introduction of overridable BasePlugin? method can_process_file_for_metadata) which were needed to get the EmbeddedMetadataPlugin? and OAIPlugin to work together.

Files:
1 modified

Legend:

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

    r24404 r24414  
    139139 
    140140    # this plugin will look for metadata in any file through its 
    141     # metadata_read() returning undef here means anything else further 
     141    # metadata_read(). Returning undef here means anything else further 
    142142    # down the pipeline can do the same 
    143143 
     
    297297     
    298298    # we don't want to process directories 
    299     if (!-f $filename_full_path || !$self->can_process_this_file($filename_full_path)) { 
     299    if (!-f $filename_full_path) { 
    300300    return undef; 
    301301    }