[kdepim-users] KMail and File Associations

Ingo Klöcker kloecker at kde.org
Mon Mar 24 11:21:59 GMT 2008


On Monday 24 March 2008, Dotan Cohen wrote:
> On 04/03/2008, kitts <kitts.mailinglists at gmail.com> wrote:
> > On Tuesday 04 Mar 2008 12:43:49 am Ronny Standtke wrote:
> >  > I just got an email with the following link inside:
> >  > http://nioframework.sourceforge.net/Transformation_Chain3.odt
> >  >
> >  > When I click on this link (using Kubuntu 7.10) KMail starts Kate
> >  > instead of OpenOffice!
> >  > If I start kcontrol and look at "KDE Components->File
> >  > Associations" the file name pattern "*odt" is configured in
> >  > vnd.oasis.opendocument.text and in the "Application Preference
> >  > Order" list I only have one entry: "OpenOffice.org Word
> >  > Processor". Under the tab "Embedding" the radio button "Use
> >  > settings for 'application' group" is selected.
> >  >
> >  > So why on earth does KMail insist on opening this link with
> >  > Kate!?!? *grrr!*
> >
> > I believe this is some issue with the website not reporting
> > correctly the mime type and kmail/konqueror/khtml not basing its
> > decision on the filename extension.
>
> The headers are not wrong, they are simply not there:
> """
> null
> 0
> """

I wonder how you tested this because the following output tells me 
something else:
=====
# wget --server-response 
http://nioframework.sourceforge.net/Transformation_Chain3.odt
--12:17:31--  
http://nioframework.sourceforge.net/Transformation_Chain3.odt
           => `Transformation_Chain3.odt'
Resolving nioframework.sourceforge.net... 66.35.250.209
Connecting to nioframework.sourceforge.net|66.35.250.209|:80... 
connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Mon, 24 Mar 2008 11:17:32 GMT
  Server: Apache/1.3.33 (Unix) PHP/4.3.10
  Last-Modified: Mon, 03 Mar 2008 18:40:30 GMT
  ETag: "b6e1914-14d20-47cc461e"
  Accept-Ranges: bytes
  Content-Length: 85280
  Connection: close
  Content-Type: application/vnd.oasis.opendocument.text
=====


Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20080324/8a2f9309/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM users mailing list
kdepim-users at kde.org
https://mail.kde.org/mailman/listinfo/kdepim-users


More information about the kdepim-users mailing list