Changeset 6408
- Timestamp:
- 2004-01-09T15:36:40+13:00 (20 years ago)
- Location:
- trunk/gsdl/perllib
- Files:
-
- 48 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify/AZCompactList.pm
r6281 r6408 73 73 { 'name' => "removeprefix", 74 74 'desc' => "{AZCompactList.removeprefix}", 75 'type' => " string",75 'type' => "regexp", 76 76 'deft' => "", 77 77 'reqd' => "no" }, 78 78 { 'name' => "removesuffix", 79 79 'desc' => "{AZCompactList.removesuffix}", 80 'type' => " string",80 'type' => "regexp", 81 81 'deft' => "", 82 82 'reqd' => "no" }, … … 123 123 { 'name' => "AZCompactList", 124 124 'desc' => "{AZCompactList.desc}", 125 'inherits' => "Yes", 125 'abstract' => "no", 126 'inherits' => "yes", 126 127 'args' => $arguments }; 127 128 -
trunk/gsdl/perllib/classify/AZCompactSectionList.pm
r5725 r6408 18 18 { 'name' => "AZCompactSectionList", 19 19 'desc' => "{AZCompactSectionList.desc}", 20 'inherits' => "Yes", 20 'abstract' => "no", 21 'inherits' => "yes", 21 22 'args' => $arguments }; 22 23 -
trunk/gsdl/perllib/classify/AZList.pm
r6111 r6408 48 48 { 'name' => "removeprefix", 49 49 'desc' => "{AZList.removeprefix}", 50 'type' => " string",50 'type' => "regexp", 51 51 'deft' => "", 52 52 'reqd' => "no" } , 53 53 { 'name' => "removesuffix", 54 54 'desc' => "{AZList.removesuffix}", 55 'type' => " string",55 'type' => "regexp", 56 56 'deft' => "", 57 57 'reqd' => "no" } … … 60 60 my $options = { 'name' => "AZList", 61 61 'desc' => "{AZList.desc}", 62 'inherits' => "Yes", 62 'abstract' => "no", 63 'inherits' => "yes", 63 64 'args' => $arguments }; 64 65 -
trunk/gsdl/perllib/classify/AZSectionList.pm
r6111 r6408 58 58 my $options = { 'name' => "AZSectionList", 59 59 'desc' => "{AZSectionList.desc}", 60 'inherits' => "Yes", 60 'abstract' => "no", 61 'inherits' => "yes", 61 62 'args' => $arguments }; 62 63 -
trunk/gsdl/perllib/classify/BasClas.pm
r6111 r6408 72 72 # 'deft' => "2", 73 73 # 'reqd' => "no" } ]; 74 { 'name' => "ignore_namespace", 75 'desc' => "{BasClas.ignore_namespace}", 76 'type' => "flag"} ]; 74 # { 'name' => "ignore_namespace", 75 # 'desc' => "{BasClas.ignore_namespace}", 76 # 'type' => "flag"} 77 ]; 77 78 78 79 my $options = { 'name' => "BasClas", 79 80 'desc' => "{BasClas.desc}", 80 'inherits' => "No", 81 'abstract' => "yes", 82 'inherits' => "no", 81 83 'args' => $arguments }; 82 84 … … 111 113 print STDERR " <Name>$classifieroptions->{'name'}</Name>\n"; 112 114 print STDERR " <Desc>$classifieroptions->{'desc'}</Desc>\n"; 115 print STDERR " <Abstract>$classifieroptions->{'abstract'}</Abstract>\n"; 113 116 print STDERR " <Inherits>$classifieroptions->{'inherits'}</Inherits>\n"; 114 117 print STDERR " <Arguments>\n"; -
trunk/gsdl/perllib/classify/Browse.pm
r5645 r6408 37 37 my $options = { 'name' => "Browse", 38 38 'desc' => "{Browse.desc}", 39 'inherits' => "Yes" }; 39 'abstract' => "yes", 40 'inherits' => "yes" }; 40 41 41 42 # sub print_usage { -
trunk/gsdl/perllib/classify/DateList.pm
r6081 r6408 56 56 'type' => "flag", 57 57 'reqd' => "no" }, 58 59 58 { 'name' => "nogroup", 60 59 'desc' => "{DateList.nogroup}", … … 75 74 my $options = { 'name' => "DateList", 76 75 'desc' => "{DateList.desc}", 77 'inherits' => "Yes", 76 'abstract' => "no", 77 'inherits' => "yes", 78 78 'args' => $arguments }; 79 79 -
trunk/gsdl/perllib/classify/HTML.pm
r5645 r6408 54 54 my $options = { 'name' => "HTML", 55 55 'desc' => "{HTML.desc}", 56 'inherits' => "Yes", 56 'abstract' => "no", 57 'inherits' => "yes", 57 58 'args' => $arguments }; 58 59 -
trunk/gsdl/perllib/classify/Hierarchy.pm
r5645 r6408 83 83 { 'name' => "Hierarchy", 84 84 'desc' => "{Hierarchy.desc}", 85 'inherits' => "Yes" , 85 'abstract' => "no", 86 'inherits' => "yes", 86 87 'args' => $arguments }; 87 88 -
trunk/gsdl/perllib/classify/List.pm
r5743 r6408 67 67 my $options = { 'name' => "List", 68 68 'desc' => "{List.desc}", 69 'inherits' => "Yes", 69 'abstract' => "no", 70 'inherits' => "yes", 70 71 'args' => $arguments }; 71 72 -
trunk/gsdl/perllib/classify/Phind.pm
r5645 r6408 130 130 my $options = { 'name' => "Phind", 131 131 'desc' => "{Phind.desc}", 132 'inherits' => "Yes", 132 'abstract' => "no", 133 'inherits' => "yes", 133 134 'args' => $arguments }; 134 135 … … 393 394 sub get_classify_info { 394 395 my $self = shift (@_); 396 my ($gli) = @_; 395 397 396 398 close $self->{'dochandle'}; … … 405 407 } 406 408 409 print STDERR "</Stage>\n" if $gli; 410 407 411 if ($verbosity) { 408 412 print $out "\n*** Phind.pm generating indexes for ", $self->{'indexes'}, "\n"; … … 410 414 } 411 415 416 print STDERR "<Stage name='Phind'>\n" if $gli; 417 412 418 # Construct phind indexes 413 419 my $suffixmode = $self->{'suffixmode'}; … … 417 423 # from the clauses file 418 424 print $out "\nExtracting vocabulary and statistics\n" if $verbosity; 425 print STDERR "<Phase name='ExtractingVocab'/>\n" if $gli; 419 426 &extract_vocabulary($self); 420 427 421 428 # Use the suffix program to generate the phind/phrases file 422 429 print $out "\nExtracting phrases from processed text (with suffix)\n" if $verbosity; 430 print STDERR "<Phase name='ExtractingPhrase'/>\n" if $gli; 423 431 &execute("suffix \"$phinddir\" $suffixmode $verbosity", $verbosity, $out); 424 432 … … 427 435 my $phrasesfile=&util::filename_cat($self->{'phinddir'}, 'phrases'); 428 436 if (! -r $phrasesfile) { 437 print STDERR "<Warning name='NoPhrasesFound'/>\n" if $gli; 429 438 print $out "\nNo phrases found for Phind classifier!\n"; 430 439 return; … … 433 442 # Create the phrase file and put phrase numbers in phind/phrases 434 443 print $out "\nSorting and renumbering phrases for input to mgpp\n" if $verbosity; 444 print STDERR "<Phase name='SortAndRenumber'/>\n" if $gli; 435 445 &renumber_phrases($self); 436 446 437 447 print $out "\nCreating phrase databases\n"; 448 print STDERR "<Phase name='PhraseDatabases'/>\n" if $gli; 438 449 my $mg_input = &util::filename_cat($phinddir, "pdata.txt"); 439 450 my $mg_stem = &util::filename_cat($phinddir, "pdata"); … … 445 456 # create the mg index of words 446 457 print $out "\nCreating word-level search indexes\n"; 458 print STDERR "<Phase name='WordLevelIndexes'/>\n" if $gli; 447 459 $mg_input = &util::filename_cat($phinddir, "pword.txt"); 448 460 $mg_stem = &util::filename_cat($phinddir, "pword"); … … 461 473 # create the mg document information database 462 474 print $out "\nCreating document information databases\n"; 475 print STDERR "<Phase name='DocInfoDatabases'/>\n" if $gli; 463 476 $mg_input = &util::filename_cat($phinddir, "docs.txt"); 464 477 $mg_stem = &util::filename_cat($phinddir, "docs"); -
trunk/gsdl/perllib/classify/SectionList.pm
r5645 r6408 41 41 my $options = { 'name' => "SectionList", 42 42 'desc' => "{SectionList.desc}", 43 'inherits' => "Yes" }; 43 'abstract' => "no", 44 'inherits' => "yes" }; 44 45 45 46 # sub print_usage { -
trunk/gsdl/perllib/plugins/ArcPlug.pm
r6332 r6408 44 44 my $options = { 'name' => "ArcPlug", 45 45 'desc' => "{ArcPlug.desc}", 46 'inherits' => "Yes" }; 46 'abstract' => "no", 47 'inherits' => "yes" }; 47 48 48 49 sub gsprintf -
trunk/gsdl/perllib/plugins/BasPlug.pm
r6332 r6408 60 60 [ { 'name' => "process_exp", 61 61 'desc' => "{BasPlug.process_exp}", 62 'type' => " string",62 'type' => "regexp", 63 63 'deft' => "", 64 64 'reqd' => "no" }, 65 65 { 'name' => "block_exp", 66 66 'desc' => "{BasPlug.block_exp}", 67 'type' => " string",67 'type' => "regexp", 68 68 'deft' => "", 69 69 'reqd' => "no" }, … … 130 130 my $options = { 'name' => "BasPlug", 131 131 'desc' => "{BasPlug.desc}", 132 'inherits' => "No", 132 'abstract' => "yes", 133 'inherits' => "no", 133 134 'args' => $arguments }; 134 135 … … 174 175 print STDERR " <Name>$pluginoptions->{'name'}</Name>\n"; 175 176 print STDERR " <Desc>$pluginoptions->{'desc'}</Desc>\n"; 177 print STDERR " <Abstract>$pluginoptions->{'abstract'}</Abstract>\n"; 176 178 print STDERR " <Inherits>$pluginoptions->{'inherits'}</Inherits>\n"; 177 179 print STDERR " <Arguments>\n"; -
trunk/gsdl/perllib/plugins/BibTexPlug.pm
r6332 r6408 54 54 [ { 'name' => "process_exp", 55 55 'desc' => "{BasPlug.process_exp}", 56 'type' => " string",56 'type' => "regexp", 57 57 'reqd' => "no", 58 'deft' => &get_default_process_exp() } ]; 58 'deft' => &get_default_process_exp() }, 59 { 'name' => "split_exp", 60 'desc' => "{SplitPlug.split_exp}", 61 'type' => "regexp", 62 'deft' => &get_default_split_exp(), 63 'reqd' => "no" } 64 ]; 59 65 60 66 my $options = { 'name' => "BibTexPlug", 61 67 'desc' => "{BibTexPlug.desc}", 62 'inherits' => "Yes", 68 'abstract' => "no", 69 'inherits' => "yes", 63 70 'args' => $arguments }; 64 71 -
trunk/gsdl/perllib/plugins/BookPlug.pm
r6332 r6408 63 63 [ { 'name' => "process_exp", 64 64 'desc' => "{BasPlug.process_exp}", 65 'type' => " string",65 'type' => "regexp", 66 66 'reqd' => "no", 67 67 'deft' => &get_default_process_exp() }, 68 68 { 'name' => "block_exp", 69 69 'desc' => "{BasPlug.block_exp}", 70 'type' => " string",70 'type' => "regexp", 71 71 'reqd' => "no", 72 72 'deft' => &get_default_block_exp() } ]; … … 74 74 my $options = { 'name' => "BookPlug", 75 75 'desc' => "{BookPlug.desc}", 76 'inherits' => "Yes", 76 'abstract' => "no", 77 'inherits' => "yes", 77 78 'args' => $arguments }; 78 79 -
trunk/gsdl/perllib/plugins/ConvertToPlug.pm
r5919 r6408 59 59 'desc' => "{ConvertToPlug.convert_to}", 60 60 'type' => "enum", 61 'reqd' => " no",61 'reqd' => "yes", 62 62 'list' => $convert_to_list, 63 63 'deft' => "html" }, … … 69 69 my $options = { 'name' => "ConvertToPlug", 70 70 'desc' => "{ConvertToPlug.desc}", 71 'inherits' => "Yes", 71 'abstract' => "no", 72 'inherits' => "yes", 72 73 'args' => $arguments }; 73 74 -
trunk/gsdl/perllib/plugins/ConvertToRogPlug.pm
r5924 r6408 38 38 my $options = { 'name' => "ConvertToRogPlug", 39 39 'desc' => "{ConvertToRogPlug.desc}", 40 'inherits' => "Yes" }; 40 'abstract' => "no", 41 'inherits' => "yes" }; 41 42 42 43 sub print_usage { -
trunk/gsdl/perllib/plugins/DBPlug.pm
r5924 r6408 47 47 [ { 'name' => "process_exp", 48 48 'desc' => "{BasPlug.process_exp}", 49 'type' => " string",49 'type' => "regexp", 50 50 'deft' => &get_default_process_exp(), 51 51 'reqd' => "no" }]; … … 53 53 my $options = { 'name' => "DBPlug", 54 54 'desc' => "{DBPlug.desc}", 55 'abstract' => "no", 55 56 'inherits' => "yes", 56 57 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/EMAILPlug.pm
r6332 r6408 93 93 [ { 'name' => "process_exp", 94 94 'desc' => "{BasPlug.process_exp}", 95 'type' => " string",95 'type' => "regexp", 96 96 'reqd' => "no", 97 97 'deft' => &get_default_process_exp() }, … … 102 102 { 'name' => "split_exp", 103 103 'desc' => "{EMAILPlug.split_exp}", 104 'type' => "string", 105 'deft' => "" } ]; 104 'type' => "regexp", 105 'reqd' => "no", 106 'deft' => &get_default_split_exp() } 107 ]; 106 108 107 109 my $options = { 'name' => "EMAILPlug", 108 110 'desc' => "{EMAILPlug.desc}", 109 'inherits' => "Yes", 111 'abstract' => "no", 112 'inherits' => "yes", 110 113 'args' => $arguments }; 111 114 -
trunk/gsdl/perllib/plugins/ExcelPlug.pm
r5924 r6408 34 34 } 35 35 36 my $arguments = 37 [ { 'name' => "process_exp", 38 'desc' => "{BasPlug.process_exp}", 39 'type' => "regexp", 40 'reqd' => "no", 41 'deft' => &get_default_process_exp() } 42 ]; 43 36 44 my $options = { 'name' => "ExcelPlug", 37 45 'desc' => "{ExcelPlug.desc}", 38 'inherits' => "Yes" }; 46 'abstract' => "no", 47 'inherits' => "yes", 48 'args' => $arguments }; 39 49 40 50 sub new { -
trunk/gsdl/perllib/plugins/FOXPlug.pm
r6332 r6408 47 47 my $options = { 'name' => "FOXPlug", 48 48 'desc' => "{FOXPlug.desc}", 49 'abstract' => "no", 49 50 'inherits' => "yes" }; 50 51 -
trunk/gsdl/perllib/plugins/GAPlug.pm
r6332 r6408 41 41 my $options = { 'name' => "GAPlug", 42 42 'desc' => "{GAPlug.desc}", 43 'abstract' => "no", 43 44 'inherits' => "yes" }; 44 45 -
trunk/gsdl/perllib/plugins/GMLPlug.pm
r6332 r6408 39 39 } 40 40 41 my $arguments = 42 [ { 'name' => "process_exp", 43 'desc' => "{BasPlug.process_exp}", 44 'type' => "regexp", 45 'deft' => &get_default_process_exp() } 46 ]; 47 41 48 my $options = { 'name' => "GMLPlug", 42 49 'desc' => "{GMLPlug.desc}", 43 'inherits' => "yes" }; 50 'abstract' => "no", 51 'inherits' => "yes", 52 'args' => $arguments }; 44 53 45 54 sub new { -
trunk/gsdl/perllib/plugins/HBPlug.pm
r6332 r6408 53 53 } 54 54 55 my $arguments = 56 [ { 'name' => "process_exp", 57 'desc' => "{BasPlug.process_exp}", 58 'type' => "regexp", 59 'reqd' => "no", 60 'deft' => &get_default_process_exp() } 61 ]; 62 55 63 my $options = { 'name' => "HBPlug", 56 64 'desc' => "{HBPlug.desc}", 57 'inherits' => "yes" }; 65 'abstract' => "no", 66 'inherits' => "yes", 67 'args' => $arguments }; 58 68 59 69 sub new { -
trunk/gsdl/perllib/plugins/HTMLPlug.pm
r6332 r6408 51 51 [ { 'name' => "process_exp", 52 52 'desc' => "{BasPlug.process_exp}", 53 'type' => " string",53 'type' => "regexp", 54 54 'deft' => &get_default_process_exp() }, 55 55 { 'name' => "block_exp", 56 56 'desc' => "{BasPlug.block_exp}", 57 'type' => ' string',57 'type' => 'regexp', 58 58 'deft' => &get_default_block_exp() }, 59 59 { 'name' => "nolinks", … … 78 78 { 'name' => "assoc_files", 79 79 'desc' => "{HTMLPlug.assoc_files}", 80 'type' => " string",81 'deft' => q^(?i)\.(jpe?g|gif|png|css)$^},80 'type' => "regexp", 81 'deft' => &get_default_block_exp() }, 82 82 { 'name' => "rename_assoc_files", 83 83 'desc' => "{HTMLPlug.rename_assoc_files}", … … 93 93 my $options = { 'name' => "HTMLPlug", 94 94 'desc' => "{HTMLPlug.desc}", 95 'abstract' => "no", 95 96 'inherits' => "yes", 96 97 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/ISISPlug.pm
r6332 r6408 39 39 40 40 my $arguments = 41 [ { 'name' => "process_exp", 41 [ { 'name' => "entry_separator", 42 'desc' => "{ISISPlug.entry_separator}", 43 'type' => "string", 44 'reqd' => "no", 45 'deft' => "<br>" }, 46 { 'name' => "process_exp", 42 47 'desc' => "{BasPlug.process_exp}", 43 'type' => " string",48 'type' => "regexp", 44 49 'reqd' => "no", 45 50 'deft' => &get_default_process_exp() }, 46 51 { 'name' => "block_exp", 47 52 'desc' => "{BasPlug.block_exp}", 48 'type' => " string",53 'type' => "regexp", 49 54 'deft' => &get_default_block_exp() }, 50 55 { 'name' => "subfield_separator", … … 53 58 'reqd' => "no", 54 59 'deft' => ", " }, 55 { 'name' => "entry_separator", 56 'desc' => "{ISISPlug.entry_separator}", 57 'type' => "string", 58 'reqd' => "no", 59 'deft' => "<br>" } ]; 60 { 'name' => "split_exp", 61 'desc' => "{SplitPlug.split_exp}", 62 'type' => "regexp", 63 'deft' => &get_default_split_exp(), 64 'reqd' => "no" } 65 ]; 60 66 61 67 my $options = { 'name' => "ISISPlug", 62 68 'desc' => "{ISISPlug.desc}", 63 'inherits' => "Yes", 69 'abstract' => "no", 70 'inherits' => "yes", 64 71 'args' => $arguments }; 65 72 -
trunk/gsdl/perllib/plugins/ImagePlug.pm
r6332 r6408 35 35 [ { 'name' => "process_exp", 36 36 'desc' => "{BasPlug.process_exp}", 37 'type' => " string",37 'type' => "regexp", 38 38 'deft' => &get_default_process_exp(), 39 39 'reqd' => "no" }, … … 75 75 my $options = { 'name' => "ImagePlug", 76 76 'desc' => "{ImagePlug.desc}", 77 'abstract' => "no", 77 78 'inherits' => "yes", 78 79 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/IndexPlug.pm
r6332 r6408 66 66 my $options = { 'name' => "IndexPlug", 67 67 'desc' => "{IndexPlug.desc}", 68 'abstract' => "no", 68 69 'inherits' => "yes" }; 69 70 -
trunk/gsdl/perllib/plugins/MACROPlug.pm
r6332 r6408 37 37 [ { 'name' => "process_exp", 38 38 'desc' => "{BasPlug.process_exp}", 39 'type' => " string",39 'type' => "regexp", 40 40 'deft' => &get_default_process_exp(), 41 41 'reqd' => "no" } ]; … … 43 43 my $options = { 'name' => "MACROPlug", 44 44 'desc' => "{MACROPlug.desc}", 45 'abstract' => "no", 45 46 'inherits' => "yes", 46 47 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/MARCPlug.pm
r6332 r6408 43 43 'type' => "string", 44 44 'deft' => "marctodc.txt", 45 'reqd' => "no" } ]; 45 'reqd' => "no" }, 46 { 'name' => "process_exp", 47 'desc' => "{BasPlug.process_exp}", 48 'type' => "regexp", 49 'reqd' => "no", 50 'deft' => &get_default_process_exp() }, 51 { 'name' => "split_exp", 52 'desc' => "{SplitPlug.split_exp}", 53 'type' => "regexp", 54 'reqd' => "no", 55 'deft' => &get_default_split_exp() } 56 ]; 46 57 47 58 my $options = { 'name' => "MARCPlug", 48 59 'desc' => "{MARCPlug.desc}", 60 'abstract' => "no", 49 61 'inherits' => "Yes", 50 62 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/OAIPlug.pm
r6332 r6408 36 36 } 37 37 38 my $arguments = 39 [ { 'name' => "process_exp", 40 'desc' => "{BasPlug.process_exp}", 41 'type' => "regexp", 42 'reqd' => "no", 43 'deft' => &get_default_process_exp() }, 44 ]; 45 38 46 my $options = { 'name' => "OAIPlug", 39 47 'desc' => "{OAIPlug.desc}", 40 'inherits' => "yes" }; 48 'abstract' => "no", 49 'inherits' => "yes", 50 'args' => $arguments }; 41 51 42 52 # sub print_usage { -
trunk/gsdl/perllib/plugins/PDFPlug.pm
r5924 r6408 35 35 [ { 'name' => "process_exp", 36 36 'desc' => "{BasPlug.process_exp}", 37 'type' => " string",37 'type' => "regexp", 38 38 'deft' => &get_default_process_exp(), 39 39 'reqd' => "no" }, 40 40 { 'name' => "block_exp", 41 41 'desc' => "{BasPlug.block_exp}", 42 'type' => " string",42 'type' => "regexp", 43 43 'deft' => &get_default_block_exp() }, 44 44 { 'name' => "noimages", … … 61 61 my $options = { 'name' => "PDFPlug", 62 62 'desc' => "{PDFPlug.desc}", 63 'abstract' => "no", 63 64 'inherits' => "yes", 64 65 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/PPTPlug.pm
r5924 r6408 34 34 } 35 35 36 my $arguments = 37 [ { 'name' => "process_exp", 38 'desc' => "{BasPlug.process_exp}", 39 'type' => "regexp", 40 'reqd' => "no", 41 'deft' => &get_default_process_exp() }, 42 ]; 43 36 44 my $options = { 'name' => "PPTPlug", 37 45 'desc' => "{PPTPlug.desc}", 38 'inherits' => "Yes" }; 46 'abstract' => "no", 47 'inherits' => "Yes", 48 'args' => $arguments }; 39 49 40 50 sub new { -
trunk/gsdl/perllib/plugins/PSPlug.pm
r5924 r6408 38 38 [ { 'name' => "process_exp", 39 39 'desc' => "{BasPlug.process_exp}", 40 'type' => " string",40 'type' => "regexp", 41 41 'deft' => &get_default_process_exp(), 42 42 'reqd' => "no" }, 43 43 { 'name' => "block_exp", 44 44 'desc' => "{BasPlug.block_exp}", 45 'type' => ' string',45 'type' => 'regexp', 46 46 'deft' => &get_default_block_exp() }, 47 47 { 'name' => "extract_date", … … 57 57 my $options = { 'name' => "PSPlug", 58 58 'desc' => "{PSPlug.desc}", 59 'abstract' => "no", 59 60 'inherits' => "yes", 60 61 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/RTFPlug.pm
r5924 r6408 38 38 [ { 'name' => "process_exp", 39 39 'desc' => "{BasPlug.process_exp}", 40 'type' => " string",40 'type' => "regexp", 41 41 'deft' => &get_default_process_exp(), 42 42 'reqd' => "no" } ]; … … 44 44 my $options = { 'name' => "RTFPlug", 45 45 'desc' => "{RTFPlug.desc}", 46 'abstract' => "no", 46 47 'inherits' => "yes", 47 48 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/RecPlug.pm
r6332 r6408 109 109 [ { 'name' => "block_exp", 110 110 'desc' => "{BasPlug.block_exp}", 111 'type' => " string",111 'type' => "regexp", 112 112 'deft' => &get_default_block_exp(), 113 113 'reqd' => "no" }, … … 119 119 my $options = { 'name' => "RecPlug", 120 120 'desc' => "{RecPlug.desc}", 121 'abstract' => "no", 121 122 'inherits' => "yes", 122 123 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/ReferPlug.pm
r6332 r6408 75 75 [ { 'name' => "process_exp", 76 76 'desc' => "{BasPlug.process_exp}", 77 'type' => " string",77 'type' => "regexp", 78 78 'deft' => &get_default_process_exp(), 79 'reqd' => "no" } ]; 79 'reqd' => "no" }, 80 { 'name' => "split_exp", 81 'desc' => "{SplitPlug.split_exp}", 82 'type' => "regexp", 83 'reqd' => "no", 84 'deft' => &get_default_split_exp() } 85 ]; 80 86 81 87 my $options = { 'name' => "ReferPlug", 82 88 'desc' => "{ReferPlug.desc}", 89 'abstract' => "no", 83 90 'inherits' => "yes", 84 91 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/RogPlug.pm
r6332 r6408 36 36 } 37 37 38 my $arguments = 39 [ { 'name' => "process_exp", 40 'desc' => "{BasPlug.process_exp}", 41 'type' => "regexp", 42 'reqd' => "no", 43 'deft' => &get_default_process_exp() }, 44 ]; 45 38 46 my $options = { 'name' => "RogPlug", 39 47 'desc' => "{RogPlug.desc}", 40 'inherits' => "Yes" }; 48 'abstract' => "no", 49 'inherits' => "Yes", 50 'args' => $arguments }; 41 51 42 52 sub new { -
trunk/gsdl/perllib/plugins/SRCPlug.pm
r6332 r6408 49 49 [ { 'name' => "process_exp", 50 50 'desc' => "{BasPlug.process_exp}", 51 'type' => " string",51 'type' => "regexp", 52 52 'deft' => &get_default_process_exp(), 53 53 'reqd' => "no" } , 54 54 { 'name' => "block_exp", 55 55 'desc' => "{BasPlug.block_exp}", 56 'type' => 'string',56 'type' => "regexp", 57 57 'deft' => &get_default_block_exp(), 58 58 'reqd' => "no" }, 59 59 { 'name' => "remove_prefix", 60 60 'desc' => "{SRCPlug.remove_prefix}", 61 'type' => 'string',61 'type' => "regexp", 62 62 'deft' => "^.*[/\\]", 63 63 'reqd' => "no" } ]; … … 65 65 my $options = { 'name' => "SRCPlug", 66 66 'desc' => "{SRCPlug.desc}", 67 'abstract' => "no", 67 68 'inherits' => "yes", 68 69 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/SplitPlug.pm
r6137 r6408 52 52 [ { 'name' => "split_exp", 53 53 'desc' => "{SplitPlug.split_exp}", 54 'type' => " string",54 'type' => "regexp", 55 55 'deft' => &get_default_split_exp(), 56 56 'reqd' => "no" } ]; … … 58 58 my $options = { 'name' => "SplitPlug", 59 59 'desc' => "{SplitPlug.desc}", 60 'abstract' => "yes", 60 61 'inherits' => "yes", 61 62 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/TEXTPlug.pm
r6332 r6408 42 42 [ { 'name' => "process_exp", 43 43 'desc' => "{BasPlug.process_exp}", 44 'type' => " string",44 'type' => "regexp", 45 45 'deft' => &get_default_process_exp(), 46 46 'reqd' => "no" } , 47 47 { 'name' => "title_sub", 48 48 'desc' => "{TEXTPlug.title_sub}", 49 'type' => " string",49 'type' => "regexp", 50 50 'deft' => "", 51 51 'reqd' => "no" } ]; … … 53 53 my $options = { 'name' => "TEXTPlug", 54 54 'desc' => "{TEXTPlug.desc}", 55 'abstract' => "no", 55 56 'inherits' => "yes", 56 57 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/UnknownPlug.pm
r6332 r6408 78 78 my $options = { 'name' => "UnknownPlug", 79 79 'desc' => "{UnknownPlug.desc}", 80 'abstract' => "no", 80 81 'inherits' => "yes", 81 82 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/W3ImgPlug.pm
r5924 r6408 220 220 my $options = { 'name' => "W3ImgPlug", 221 221 'desc' => "{W3ImgPlug.desc}", 222 'abstract' => "no", 222 223 'inherits' => "yes", 223 224 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/WordPlug.pm
r5924 r6408 37 37 [ { 'name' => "process_exp", 38 38 'desc' => "{BasPlug.process_exp}", 39 'type' => " string",39 'type' => "regexp", 40 40 'deft' => &get_default_process_exp(), 41 41 'reqd' => "no" } ]; … … 43 43 my $options = { 'name' => "WordPlug", 44 44 'desc' => "{WordPlug.desc}", 45 'abstract' => "no", 45 46 'inherits' => "yes", 46 47 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/XMLPlug.pm
r5924 r6408 39 39 [ { 'name' => "process_exp", 40 40 'desc' => "{BasPlug.process_exp}", 41 'type' => " string",41 'type' => "regexp", 42 42 'deft' => &get_default_process_exp(), 43 43 'reqd' => "no" } ]; … … 45 45 my $options = { 'name' => "XMLPlug", 46 46 'desc' => "{XMLPlug.desc}", 47 'abstract' => "no", 47 48 'inherits' => "yes", 48 49 'args' => $arguments }; -
trunk/gsdl/perllib/plugins/ZIPPlug.pm
r5680 r6408 59 59 my $options = { 'name' => "ZIPPlug", 60 60 'desc' => "{ZIPPlug.desc}", 61 'abstract' => "no", 61 62 'inherits' => "yes" }; 62 63 -
trunk/gsdl/perllib/printusage.pm
r6125 r6408 46 46 print STDERR " <!ELEMENT List (Value*)>\n"; 47 47 print STDERR " <!ELEMENT Value (Name, Desc?)>\n"; 48 print STDERR " <!ELEMENT HiddenGLI (#PCDATA)>\n"; 48 49 print STDERR "]>\n\n"; 49 50 } … … 123 124 } 124 125 126 # If the option is noted as being hidden in GLI, add that to the printout 127 if (defined($option->{'hiddengli'})) { 128 print STDERR " <HiddenGLI>$option->{'hiddengli'}</HiddenGLI>\n"; 129 } 130 # If the argument is not hidden then print out the lowest detail mode it is visible in 131 if (defined($option->{'modegli'})) { 132 print STDERR " <ModeGLI>$option->{'modegli'}</ModeGLI>\n"; 133 } 134 125 135 print STDERR " </Option>\n"; 126 136 }
Note:
See TracChangeset
for help on using the changeset viewer.