Ignore:
Timestamp:
2008-06-09T13:12:28+12:00 (16 years ago)
Author:
kjdon
Message:

tidy up a couple of places using dummy text and NoText metadata

File:
1 edited

Legend:

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

    r15872 r15911  
    105105    }
    106106   
    107     #whats this crap?
    108    my $text = &gsprintf::lookup_string("{BasePlugin.dummy_text}",1);
     107    my $text = &gsprintf::lookup_string("{BasePlugin.dummy_text}",1);
    109108    if ($self->{'assoc_images'}) {
    110109    $text .= "[img1]<br>";
     
    112111    }
    113112    $doc_obj->add_utf8_text($doc_obj->get_top_section(), $text);
     113    $doc_obj->add_metadata ($doc_obj->get_top_section(), "NoText",    "1");
    114114
    115115}
     
    188188    $doc_obj->add_metadata ($section, $assoc_field, $assoc_name);
    189189    $doc_obj->add_metadata ($section, "srcurl", $assoc_url);
    190     $doc_obj->add_metadata ($section, "NoText",    "1");
    191190
    192191    my $mp3_info = get_mp3info($filename);
Note: See TracChangeset for help on using the changeset viewer.