Ignore:
Timestamp:
2010-12-06T13:15:10+13:00 (13 years ago)
Author:
davidb
Message:

Further changes to deal with documents that use different filename encodings on the file-system. Now sets UTF8URL metadata to perform the cross-document look up. Files stored in doc.pm as associated files are now always raw filenames (rather than potentially UTF8 encoded). Storing of filenames seen by HTMLPlug when scanning for files to block on is now done in Unicode aware strings rather than utf8 but unware strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/basebuildproc.pm

    r23371 r23387  
    515515        $field =~ s/^ex\.//;
    516516
    517         # special case for URL metadata
    518         if ($field =~ m/^URL$/i) {
     517        # special case for UTF8URL metadata
     518        if ($field =~ m/^UTF8URL$/i) {
    519519            &dbutil::write_infodb_entry($self->{'infodbtype'}, $infodb_handle,
    520520                        $value, { 'section' => [ $section_OID ] });
Note: See TracChangeset for help on using the changeset viewer.