Ignore:
Timestamp:
2015-07-14T21:09:32+12:00 (9 years ago)
Author:
ak19
Message:

Finally committing Dr Bainbridge's suggested fix (tested) to handle the updated Tudor collection when downloaded from the web. The HTML files link to themselves with the <link rel> tag, in which case the HTML files were blocked from being processed and 0 docs were processed. Now HTMLPlugin tests whether any of the linked associated files found are to the document itself, and in such cases, they are not blocked.

File:
1 edited

Legend:

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

    r29818 r30022  
    555555        next;
    556556    }
    557     print STDERR "** Dir Plugin processing $raw_full_filename\n";
     557    print STDERR "** DirectoryPlugin processing $raw_full_filename\n";
    558558    # Follow Windows shortcuts
    559559    if ($raw_subfile =~ m/(?i)\.lnk$/ && (($ENV{'GSDLOS'} =~ m/^windows$/i) && ($^O ne "cygwin"))) {
Note: See TracChangeset for help on using the changeset viewer.