Changeset 2224 for trunk


Ignore:
Timestamp:
2001-03-26T16:30:28+12:00 (23 years ago)
Author:
paynter
Message:

When the document has associated files, a metadata element "assocfilepath"
contains the path of the document's associated files relative to the
"index/assoc" directory (e.g. "HASH0165.dir"). This is the same as the
_thisOID_ macro on the document page; however, _thisOID_ is not set on the
search results and classifier pages, making it impossible to use associated
files there. (This is a problem for thumbnail gifs in image collections.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/docsave.pm

    r2048 r2224  
    240240                     "gsdlassocfile",
    241241                     "$afile:$assoc_file->[2]:$dir");
     242        $doc_obj->set_utf8_metadata_element ($doc_obj->get_top_section(),
     243                         "assocfilepath",
     244                         "$doc_dir");
    242245    } elsif ($self->{'verbosity'} > 2) {
    243246        print $outhandle "docsave::process couldn't copy the associated file " .
Note: See TracChangeset for help on using the changeset viewer.