Ignore:
Timestamp:
2001-09-24T17:15:15+12:00 (23 years ago)
Author:
sjboddie
Message:

Had a go at enriching the default document structure.

Added [srclink][srcicon]srclink to default formatstrings.
Added "Source" metadata (set to the filename of the original document)

which is also included in default formatstrings and from which an
AZList is created.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/BasPlug.pm

    r2734 r2751  
    4040use diagnostics;
    4141use DateExtract;
     42use ghtml;
    4243
    4344sub print_general_usage {
     
    288289    $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "Language", $language);
    289290    $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "Encoding", $encoding);
     291    $doc_obj->add_utf8_metadata($doc_obj->get_top_section(), "Source", &ghtml::dmsafe($file));
    290292   
    291293    # read in file ($text will be in utf8)
Note: See TracChangeset for help on using the changeset viewer.