But I am passing in the extension in the file name. It is already on the filesystem as paper.odt.
I will try it again and see though.
On Tue, 2010-04-13 at 12:41 +0200, Antoni Mylka wrote:
This has been discussed for a long while. Soon we'll be able to
celebrate the 2nd birthday of issue 2210328:
Basically the mime type identifier could require some bigger buffer, so
that if the file is a zip, it could extract the name of the first zip
entry, or some initial bytes of the first zip entry. It should be enough
to distinguish a docx from an odt.
W dniu 2010-04-13 12:00, Christiaan Fluit pisze:
> I think this means that you are not passing the file name or URI with a
> file extension to the MIME type identifier. The MagicMimeTypeIdentifier
> uses the file extension to distinguish OpenOffice files from ZIP files.
> Darren Govoni wrote:
>> I am also noticing that OpenOffice .odt files are being recognized as
>> application/zip. Perhaps this is because they might be,
>> but Aperture needs to coerce the underlying format in favor of the
>> ostensible type (e.g. application/vnd.oasis.opendocument.text )
>> otherwise, some useful processing gets missed in user apps (like mine). :)
>> On Wed, 2010-04-07 at 14:26 +0200, Leo Sauermann wrote:
>>> Hi Brian,
>>> Can you make a patch for this and write a mail to the mailinglist?
>>> As a matter of fact, I also forward it to the list also, in your name,
>>> But I guess you know more about the actual problem.
>>> As most open source projects, we have a policy that you join the project after submitting a few patches successfully, which you, as a professional in the area, probably understand.
>>> See here:
>>> Leo Sauermann
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: Brian Eubanks [mailto:firstname.lastname@example.org]
>>>> Gesendet: Dienstag, 6. April 2010 16:03
>>>> An: email@example.com<mailto:firstname.lastname@example.org>
>>>> Cc: email@example.com<mailto:firstname.lastname@example.org>
>>>> Betreff: Aperture project
>>>> Message body follows:
>>>> I would like to join the Aperture project. My user name is
>>>> I would like to make a change to mimetypes.xml. In crawling
>>>> some maildir files, the messages are not being recognized as
>>>> rfc822. This happens when the Message-ID header occurs
>>>> first. The fix is to add
>>>> <magicNumber encoding="string">Message-ID:</magicNumber>
>>>> before the Return-Path entry.
>>>> Brian Eubanks
>>>> Washington Semantic Web Meetup
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
Aperture-devel mailing list