Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-15-2012, 10:24 AM   #1
Ravenswd
Enthusiast
Ravenswd ought to be getting tired of karma fortunes by now.Ravenswd ought to be getting tired of karma fortunes by now.Ravenswd ought to be getting tired of karma fortunes by now.Ravenswd ought to be getting tired of karma fortunes by now.Ravenswd ought to be getting tired of karma fortunes by now.Ravenswd ought to be getting tired of karma fortunes by now.Ravenswd ought to be getting tired of karma fortunes by now.Ravenswd ought to be getting tired of karma fortunes by now.Ravenswd ought to be getting tired of karma fortunes by now.Ravenswd ought to be getting tired of karma fortunes by now.Ravenswd ought to be getting tired of karma fortunes by now.
 
Posts: 40
Karma: 499264
Join Date: Apr 2012
Device: Kindle Fire 7"
ePub files on WordPress sites

I came to this forum looking for a solution to a problem I was having. I ended up finding the solution on my own, but I thought I would share it with you in case anyone else runs into the same problem.

If you have a WordPress site and you offer ePub files for download, then you may run into this strange condition I was experiencing:

Anyone who attempts to read the files on a Nook (and possibly other devices) gets nothing but a screen full of garbage nonsense characters. Sometimes it works correctly, though.

After a lot of digging, I discovered: It works properly if someone downloads the file and then manually transfers it to the Nook. If, however, they browse the internet on their Nook and download the file directly, they get a screen full of garbage.

The problem is that WordPress overrides the Mime Type that ePub files need to be identified properly when downloaded. (It does the same to mobi files as well, but for some reason they never gave me any problems.) This can be fixed easily by adding a line to your .htaccess file which will set the correct Mime Type:

AddType application/epub+zip .epub
AddType application/x-mobipocket-ebook .mobi

You can find more information at the same place I found this: http://eschipul.com/2010/08/adding-e...-to-wordpress/

If anyone else has the same problem I was having, I hope this helps you.
Ravenswd is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unwanted epub files once mobi files have been converted. fletchdt Conversion 5 03-22-2012 10:18 PM
Recipe for Wordpress ventures Recipes 0 05-24-2011 09:10 PM
Txt files - Convert to Epub - Multiple files into one book - noob help Cernan Calibre 6 05-18-2010 10:12 AM
New Sony Reader owner compares ePub sites DGReader Introduce Yourself 8 02-26-2010 09:37 AM
Wordpress Vs Textpattern Moejoe Lounge 4 03-06-2009 11:46 AM


All times are GMT -4. The time now is 04:33 AM.


MobileRead.com is a privately owned, operated and funded community.