Ignore:
Timestamp:
2003-12-19T15:16:29+13:00 (20 years ago)
Author:
jmt12
Message:

When -gli argument is provided to calling script these modules will now output gli specific, non-language nor verbosity specific, messages

File:
1 edited

Legend:

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

    r5924 r6332  
    194194sub process {
    195195    my $self = shift (@_);
    196     my ($textref, $pluginfo, $base_dir, $file, $metadata, $doc_obj) = @_;
     196    my ($textref, $pluginfo, $base_dir, $file, $metadata, $doc_obj, $gli) = @_;
    197197    my $outhandle = $self->{'outhandle'};
     198
     199    print STDERR "<Processing n='$file' p='HTMLPlug'>\n" if ($gli);
     200
    198201    print $outhandle "HTMLPlug: processing $file\n"
    199202    if $self->{'verbosity'} > 1;
     
    648651        if (defined $1) {
    649652            my $title = $1;
     653            # Arg. This allows only ascii value characters in titles
    650654            if ($title =~ /\w/) {
    651655            $title =~ s/<[^>]*>/ /g;
Note: See TracChangeset for help on using the changeset viewer.