View Single Post
Old 05-27-2014, 11:37 AM   #13
mateuszv
http://mateusz.viste.fr
mateuszv began at the beginning.
 
mateuszv's Avatar
 
Posts: 16
Karma: 10
Join Date: May 2014
Location: France
Device: FBReader (Android)
Quote:
Originally Posted by tuskin View Post
Windows 8.1: Chrome and Firefox open the epubs in the associated program (Calibre viewer). No change in IEs - xml download/RSS feed.

On Android 4.0.4 (Samsung Note 10.1) the stock browser also thinks it's an RSS feed and informs me that Google Reader has been discontinued. Firefox works - opens the books in Aldiko.
I see - you are talking about the fact that the browsers do not even access to the html interface - at first I though it was about interpreting epubs as XML

Now I understand, and it's in fact logic: elibsrv decides what to answer with (OPDS or HTML) looking at how the browser presents itself. I detect Firefox, Opera, Chrome, and probably not much more. When elibsrv don't recognize the client, it assumes it is an OPDS reader (since elibsrv was designed primarily with OPDS devices in mind, the HTML frontend is only a 'bonus' thing I coded).

To avoid this "smart" autodetection, and force HTML output, you could use such URL:
http://elibsrv-demo.viste-family.net/?f=html

I'd be curious to know how the browsers that aren't working for you presents themselves... Would you have any way of checking this? Or maybe could your provide me the three last digits of your (public) IP address, so I'd know what I have to look for in my server logs?
mateuszv is offline   Reply With Quote