[kdepim-users] KMail and File Associations

Will Stephenson wstephenson at kde.org
Tue Mar 4 08:15:56 GMT 2008


On Tuesday 04 March 2008 07:19:11 kitts 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.

Right. Grrr, grrr, naughty site admin! Ok, that's my canine side indulged.

WRONG:
$ wget -S http://nioframework.sourceforge.net/Transformation_Chain3.odt

--09:09:03--  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: Tue, 04 Mar 2008 08:09:17 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: text/plain
Length: 85,280 (83K) [text/plain]

100%[=================================>] 85,280        91.62K/s

09:09:18 (91.43 KB/s) - `Transformation_Chain3.odt' saved [85280/85280]

RIGHT:
$ wget -S 
http://testsuite.opendocumentfellowship.com/testcases/TextContents/textFormatting/alignment/testDoc/testDoc.odt

--09:14:45--  
http://testsuite.opendocumentfellowship.com/testcases/TextContents/textFormatting/alignment/testDoc/testDoc.odt
           => `testDoc.odt'
Resolving testsuite.opendocumentfellowship.com... 69.93.127.23
Connecting to testsuite.opendocumentfellowship.com|69.93.127.23|:80... 
connected.
HTTP request sent, awaiting response...
  HTTP/1.1 200 OK
  Date: Tue, 04 Mar 2008 08:14:45 GMT
  Server: Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 
PHP/5.0.5-Debian-0.8~sarge1
  Last-Modified: Wed, 13 Jun 2007 12:46:05 GMT
  ETag: "4b9aa-ccf-ff4e1d40"
  Accept-Ranges: bytes
  Content-Length: 3279
  Keep-Alive: timeout=15, max=100
  Connection: Keep-Alive
  Content-Type: application/vnd.oasis.opendocument.text
Length: 3,279 (3.2K) [application/vnd.oasis.opendocument.text]

100%[=================================>] 3,279         15.77K/s

09:14:46 (15.70 KB/s) - `testDoc.odt' saved [3279/3279]


Will

-- 
Will Stephenson
IRC: Bille
_______________________________________________
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