Subject: | |
From: | |
Reply To: | |
Date: | Wed, 31 Mar 2010 09:23:56 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On 3/31/2010 2:16, Dr Andrew C Aitchison wrote:
> On Tue, 30 Mar 2010, Robert E. Blair wrote:
>> I have been lately quite annoyed by the fact that sometimes (not always)
>> the new versions of powerpoint files (.pptx ones) do not cause
>> openoffice to come up. You often need to save the file and then open it
>> locally. It just dawned on my why. Many (ours included) web servers do
>> not have pptx in the /etc/mime.types file so the files are not properly
>> labeled as powerpoint. I believe that adding the following to the
>> /etc/mime.types file of our web servers will fix it:
>> change: application/vnd.ms-powerpoint ppt
>> instead it should read: application/vnd.ms-powerpoint ppt pptx
>>
>> Similar changes are needed for doc->doc docx
>> and for xls->xls xlsx
>>
>> Without this the web server identifies the files as binary and a browser
>> that respects this simply allows you to download and not to open the
>> file. It would be great if TUV would incorporate this into future
>> releases of the mailcap rpm.
You just set your server to use the wrong MIME types. The correct types
for MSOOXML files are (apologies for any wrapping):
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
application/vnd.openxmlformats-officedocument.presentationml.slide sldx
application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
application/vnd.openxmlformats-officedocument.presentationml.template potx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
I do agree, this should definitely be fixed upstream.
https://bugzilla.redhat.com/show_bug.cgi?id=578519
> I hadn't realized that OpenOffice.org 2.x supported those formats.
>
> I wonder whether they made that change when they released
> OpenOffice.org 3.1
> https://rhn.redhat.com/errata/RHBA-2010-0274.html
> (and/or RH Enterprise Linux 5.5) ?
It was part of OO.o's 3.0 release, so one would certainly expect said
support to be there.
--
Garrett Holmstrom
University of Minnesota School of Physics and Astronomy
Systems Staff
|
|
|