![]() |
#16 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 27246
Join Date: Sep 2010
Location: Saskatoon SK, Canada
Device: Kindle 3 6" 3G + wifi, Sony PRS-300, iTouch 4G, Galaxy S Vibrant
|
I asked my web host about this and they said the .htaccess file method will work. I'm unfamiliar with how these files work though, is it as simple as just dropping that line into a text file and naming it .htaccess?
ie all the file would contain is: Code:
AddType application/x-mobipocket-ebook .mobi Thanks for all of the info everyone, I really appreciate it! |
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,371
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You have it correct.
Just make sure that you're not overwriting an existing .htaccess file. Depending on how you're accessing it, it may be there, but hidden. Most ftp clients can be configured to show hidden files. If you have ssh access, the 'ls -la' command will show hidden files. If one already exists, just add the AddType line to it somewhere. You may have to make sure the .htaccess file is saved with unix-style line termination. |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 27246
Join Date: Sep 2010
Location: Saskatoon SK, Canada
Device: Kindle 3 6" 3G + wifi, Sony PRS-300, iTouch 4G, Galaxy S Vibrant
|
YAY IT WORKED!!! I used notepad++ to make the .htaccess file just to be safe regarding the unix line termination issue.
Ok just for the sake of completeness here is what needs to be done 1) You need to make sure your server is running apache (if you're not sure ask your web host) 2) You need to create a file called .htaccess (I used notepad++, regular notepad might not handle the line terminations properly) and inside this file the place the following line: Code:
AddType application/x-mobipocket-ebook .mobi 3) In your FTP program make sure you enable "show hidden files", this way you can back up your previous .htaccess file just in case. Then copy the new .htaccess file to the directory you want to host the ebooks in. 4) Copy your .mobi files to the directory. If you want to create a simple menu page you can do so, standard hyperlinks will work when clicked on via the Kindle. NOTE: As mentioned by other people in this thread it is advisable to just drop this .htaccess file into the directory you're hosting the ebooks and not to touch the .htaccess file in the root directory of your site. Example: www.mywebsite.com/ebooks/ In this directory you'd have all of your .mobi books and .htaccess file Thanks for the help everyone!!!! |
![]() |
![]() |
![]() |
#19 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Do you think it's possible to do something similar for epub ebooks?
|
![]() |
![]() |
![]() |
#20 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 27246
Join Date: Sep 2010
Location: Saskatoon SK, Canada
Device: Kindle 3 6" 3G + wifi, Sony PRS-300, iTouch 4G, Galaxy S Vibrant
|
I didn't think the Kindle supported epub
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,371
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
IF the Kindle supported epub you could do the same thing with something like:
AddType application/epub+zip .epub ![]() |
![]() |
![]() |
![]() |
#22 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
|
![]() |
![]() |
![]() |
#23 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 27246
Join Date: Sep 2010
Location: Saskatoon SK, Canada
Device: Kindle 3 6" 3G + wifi, Sony PRS-300, iTouch 4G, Galaxy S Vibrant
|
FYI I just tried this with a pdf and it did not work, I got an error message on my kindle that says:
" Web Browswer cannot download this kind of file. Only files with the extension .azw, .prc, .mobi, or .txt can be downloaded to your Kindle." @DiapDealer If I wanted to make the .htaccess file cover all the bases would this work or should the application be different for the other formats (ie the x-mobipocket-ebook part) Code:
AddType application/x-mobipocket-ebook .mobi AddType application/x-mobipocket-ebook .azw AddType application/x-mobipocket-ebook .prc AddType application/x-mobipocket-ebook .txt I'm not sure if the type portion of the mimetype would be the same for another type of reader. Also since this thread is just for Kindle I'm not sure if this is the right place to pose your question ![]() Last edited by jphphotography; 09-23-2010 at 09:25 PM. Reason: Typo, changed .pdf to .azw |
![]() |
![]() |
![]() |
#24 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,371
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Code:
AddType application/x-mobipocket-ebook .mobi .prc .azw BTW, if you create a mobi book that contains the proper links to the books on your server, you can open that 'catalog' mobi on your Kindle... click the link and it will automatically download as well (just like Gutenberg's Magic Catalog). No need to open the browser and surf to your website. |
|
![]() |
![]() |
![]() |
#25 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 27246
Join Date: Sep 2010
Location: Saskatoon SK, Canada
Device: Kindle 3 6" 3G + wifi, Sony PRS-300, iTouch 4G, Galaxy S Vibrant
|
Ok so I can confirm that this is working for .mobi .azw and .txt
I don't have any .prc books to try but since the others work I think it's fair to assume that .prc books should work as well. Thanks for all the help DiapDealer! |
![]() |
![]() |
![]() |
#26 |
Author's pet-geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 933
Karma: 1040670
Join Date: Sep 2010
Location: North Queensland, Australia
Device: Kindle 3 Wifi, Onyx Boox M96
|
DiapDealer,
Perhaps for when handling the .txt situation, one could use a specific directory wherein the .txt files are explicitly for the reader, hence you can safely apply the MIME type directive using a .htaccess in that directory. Paul. |
![]() |
![]() |
![]() |
#27 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
But the main reason I'm reading the Kindle forums is because I host hundreds of mobipocket formatted fan fiction stories on the Ebook Library so for me I do have an interest in the mobipocket format and the Kindles because I don't have one so I have to rely on other users to learn what it can and cannot do. I'm also hosting epub files so I was hoping to offer the option to both sets of users at the archive. This thread was interesting to me because if I can get it to work on the website then it may be possible for Kindle owners and other ebook device owners to browse and download the mobi formatted stories to their device. I'm just not sure if the browser can go to the website... |
|
![]() |
![]() |
![]() |
#28 |
Groupie
![]() Posts: 187
Karma: 46
Join Date: Nov 2009
Location: TN, US
Device: iPhone 4, Astak EZ Pocket Pro, Kindle 3 3G
|
Umm...is there a step by step way (with layman terms) of how to do this? So people who are not tech savvy like me knows how to do this thing? Screenshot would be nice too if it's not a bother. Thanks!
Last edited by diokdin; 09-23-2010 at 11:45 PM. |
![]() |
![]() |
![]() |
#29 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 107
Karma: 27246
Join Date: Sep 2010
Location: Saskatoon SK, Canada
Device: Kindle 3 6" 3G + wifi, Sony PRS-300, iTouch 4G, Galaxy S Vibrant
|
@diokdin Look at post #18, let me know if that works for you and if not then specify which part(s) you need explained in simpler terms.
@Amalthia No worries about the posting in the kindle section, I'm new here and just wasn't sure if they were sticklers or not ![]() |
![]() |
![]() |
![]() |
#30 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,184
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
Tags |
kindle file hosting |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best download file format for Kindle?? | OakIris | Amazon Kindle | 26 | 10-11-2010 06:46 PM |
Direct download readers | Kumabjorn | Which one should I buy? | 12 | 07-10-2010 10:16 AM |
New Feature Suggestion: MEGAUPLOAD / RAPIDSHARE direct download | zon9873 | Calibre | 2 | 03-18-2010 04:06 PM |
Lots of Free ePUBs, download direct with ZuluReader. | ondabeach | Reading and Management | 0 | 06-15-2009 10:54 PM |
Free file hosting service offers 1GB of storage | Brian | Lounge | 0 | 09-21-2005 09:47 PM |