Changeset 22874
- Timestamp:
- 2010-09-07T14:44:50+12:00 (13 years ago)
- Location:
- main/trunk/greenstone2/perllib/plugins
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/ConvertBinaryFile.pm
r22664 r22874 467 467 468 468 # need to check that not empty 469 my $doc_ext = $self->{'filename_extension'};469 my ($doc_ext) = $file =~ /\.(\w+)$/; 470 470 my $file_type = "unknown"; 471 471 $file_type = $self->{'file_type'} if defined $self->{'file_type'}; -
main/trunk/greenstone2/perllib/plugins/ExcelPlugin.pm
r22865 r22874 96 96 97 97 $self = bless $self, $class; 98 $self->{'filename_extension'} = "xls";99 98 $self->{'file_type'} = "Excel"; 100 99 -
main/trunk/greenstone2/perllib/plugins/PDFPlugin.pm
r22864 r22874 131 131 132 132 $self = bless $self, $class; 133 $self->{'filename_extension'} = "pdf";134 133 $self->{'file_type'} = "PDF"; 135 134 -
main/trunk/greenstone2/perllib/plugins/PostScriptPlugin.pm
r22860 r22874 101 101 } 102 102 103 $self->{'filename_extension'} = "ps";104 103 $self->{'file_type'} = "PS"; 105 104 -
main/trunk/greenstone2/perllib/plugins/PowerPointPlugin.pm
r22871 r22874 151 151 152 152 $self = bless $self, $class; 153 $self->{'filename_extension'} = "ppt";154 153 $self->{'file_type'} = "PPT"; 155 154 -
main/trunk/greenstone2/perllib/plugins/RTFPlugin.pm
r22860 r22874 79 79 } 80 80 81 $self->{'filename_extension'} = "rtf";82 81 $self->{'file_type'} = "RTF"; 83 82 -
main/trunk/greenstone2/perllib/plugins/WordPlugin.pm
r22861 r22874 150 150 151 151 $self = bless $self, $class; 152 $self->{'filename_extension'} = "doc";153 152 $self->{'file_type'} = "Word"; 154 153
Note:
See TracChangeset
for help on using the changeset viewer.