Changeset 1686 for trunk/gsdl
- Timestamp:
- 2000-11-22T10:33:26+13:00 (24 years ago)
- Location:
- trunk/gsdl/perllib/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/BasPlug.pm
r1605 r1686 64 64 print STDERR " about input files you don't care about. Each plugin may or may\n"; 65 65 print STDERR " not have a default block_exp. e.g. by default HTMLPlug blocks\n"; 66 print STDERR " any files with .gif, .jpg, .jpeg, .png, . pdf, .rtf or .css\n";66 print STDERR " any files with .gif, .jpg, .jpeg, .png, .rtf or .css\n"; 67 67 print STDERR " file extensions.\n"; 68 68 print STDERR " -extract_acronyms Extract acronyms from within text and set as metadata\n\n"; -
trunk/gsdl/perllib/plugins/HTMLPlug.pm
r1653 r1686 65 65 print STDERR " -w3mir Set if w3mir was used to generate input file structure.\n"; 66 66 print STDERR " -assoc_files Perl regular expression of file extensions to associate with\n"; 67 print STDERR " html documents. Defaults to '(?i)\.(jpe?g|gif|png|css |pdf)\$'\n";67 print STDERR " html documents. Defaults to '(?i)\.(jpe?g|gif|png|css)\$'\n"; 68 68 print STDERR " -rename_assoc_files Renames files associated with documents (e.g. images). Also\n"; 69 69 print STDERR " creates much shallower directory structure (useful when creating\n"; … … 85 85 q^hunt_creator_metadata^, \$self->{'hunt_creator_metadata'}, 86 86 q^w3mir^, \$self->{'w3mir'}, 87 q^assoc_files/.*/(?i)\.(jpe?g|gif|png|css |pdf)$^, \$self->{'assoc_files'},87 q^assoc_files/.*/(?i)\.(jpe?g|gif|png|css)$^, \$self->{'assoc_files'}, 88 88 q^rename_assoc_files^, \$self->{'rename_assoc_files'}, 89 89 q^title_sub/.*/^, \$self->{'title_sub'}, … … 106 106 my $self = shift (@_); 107 107 108 return q^(?i)\.(gif|jpe?g|png| pdf|rtf|css)$^;108 return q^(?i)\.(gif|jpe?g|png|rtf|css)$^; 109 109 } 110 110 … … 217 217 218 218 } else { 219 # link is to some other type of file ( image, pdf etc.) so we'll219 # link is to some other type of file (eg image) so we'll 220 220 # need to associate that file 221 221 return $front . $self->add_file ($href, $rl, $hash_part, $base_dir, $doc_obj, $section) . $back;
Note:
See TracChangeset
for help on using the changeset viewer.