View Single Post
Old 09-05-2016, 08:14 AM   #87
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by scissors View Post
another query, sorry.

My missus kindle is the original 3g keyboard.
really handy when abroad if no wifi.

However, there is a quirk when downloading files via some hosts via calibre2opds.

googledrive and dropbox are fine, but others, orgfree being one have the following happen.

when you select download as mobi, instead of downloading the file is opened as a webpage and and displayed as ascii text (as you would see if you opened a mobi in notepad)

my kindle touch works fine, but that needs wifi.
any way of fixing this, i assume it's the servers fault?
Not sure what is happening here, but my suspicion is that a combination of the web server and browser on the Kindle.

A common problem I have seen that corresponds to your issue is to do with whether the server honours the MIME type (used to specify the content type for a file) set in the HTML file for download links, or instead takes it from the file extension. Calibre2opds DOES specify a MIME type in its HTML files for downloads, but if this is being ignored then a file needs updating on the server side to set the correct relation between MIME type and file extension.

There can also be the case where the browser end does not correctly handle the MIME type in use, and in this case there is not much you can do about it.

For reference you might like to know that there is a mimetypes.txt file included in the Calibre2opds catalog folder so you can see what Calibre2opds is specifying in its HTML files. It is possible providing this information to orgfree might allow them to check what they specify at their end.
itimpi is offline   Reply With Quote