Changeset 15887
- Timestamp:
- 2008-06-06T10:36:57+12:00 (16 years ago)
- Location:
- gsdl/trunk/perllib/plugins
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/AcronymExtractor.pm
r15881 r15887 3 3 use acronym; 4 4 use PrintInfo; 5 use strict; 5 6 6 7 BEGIN { -
gsdl/trunk/perllib/plugins/DateExtractor.pm
r15881 r15887 3 3 use DateExtract; 4 4 use PrintInfo; 5 use strict; 5 6 6 7 BEGIN { -
gsdl/trunk/perllib/plugins/EmailAddressExtractor.pm
r15881 r15887 2 2 3 3 use PrintInfo; 4 use strict; 4 5 5 6 BEGIN { -
gsdl/trunk/perllib/plugins/KeyphraseExtractor.pm
r15881 r15887 3 3 use Kea; 4 4 use PrintInfo; 5 use strict; 6 no strict 'subs'; 5 7 6 8 BEGIN { -
gsdl/trunk/perllib/plugins/MediaWikiPlugin.pm
r15872 r15887 34 34 35 35 use HTMLPlugin; 36 # use ImagePlugin;37 # use File::Copy;38 36 use unicode; 39 37 40 41 #use strict; # every perl program should have this! 42 #no strict 'refs'; # make an exception so we can use variables as filehandles 38 use strict; # every perl program should have this! 39 no strict 'refs'; # make an exception so we can use variables as filehandles 40 43 41 44 42 sub BEGIN { … … 508 506 elsif ($about_package !~ /\S/) { 509 507 # read _content_ macro from $GSDLHOME/macros/about.dm file 510 my $global_about_package = &read_content_from_about_dm();508 my $global_about_package = $self->read_content_from_about_dm(); 511 509 512 510 # create the extra _content_ macro for this collection … … 539 537 else { 540 538 my $new_about_package = $about_package; 541 $content_macro = &read_content_from_about_dm();539 my $content_macro = &read_content_from_about_dm(); 542 540 $content_macro =~ m/{(.|\n)*<\/div>\n\n/; 543 541 … … 646 644 sub read_content_from_about_dm 647 645 { 646 my $self = shift(@_); 647 648 648 my $about_macro_file = &util::filename_cat($ENV{'GSDLHOME'}, "macros", "about.dm"); 649 649 my $about_page_content = ""; … … 653 653 } 654 654 } else { 655 my $outhandle = $self->{'outhandle'}; 655 656 print $outhandle "can't open file $about_macro_file\n"; 656 657 }
Note:
See TracChangeset
for help on using the changeset viewer.