Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 12-08-2014, 08:56 AM   #16
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I need a test from someone with an Aura, Aura HD or Aura H2O. Or all three. And a Mini too I suppose.

The useragent that is being reported for the browser on my Glo and Touch is:
Code:
Mozilla/5.0 (Linux; U; Android 2.0; en-us;) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 (Kobo Touch)
I would like to check the other devices have the same useragent. The simplest way to see this is to visit a site like http://whatsmyuseragent.com/ using the browser on the device. If someone can post what is displayed, that would be good.

And just in case, if someone has a Kobo tablet, I'd be interested to see what they use.

As I have made the changes needed for calibre, if someone wants to run from source and check they work, that would be good. The attached file has two python files that go into "src\calibre\library\server". Start the server, visit the site using the browser on the device and try to download a kepub. When prompted the book should have the extension "kepub.epub" and be added to the library as a kepub. If you use a non-Kobo device or browser, downloading the kepub should download it with the extension "kepub".

And I should mention a bug in the browser. If you cancel a download, you cannot start another until the browser is restarted.
Attached Files
File Type: zip server-kepubs.zip (7.6 KB, 138 views)
davidfor is offline   Reply With Quote
Old 12-08-2014, 09:38 AM   #17
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
I get the exact same user agent with Aura HD (3.11).
patrik is offline   Reply With Quote
Advert
Old 12-08-2014, 06:58 PM   #18
robko
Wizard
robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.robko ought to be getting tired of karma fortunes by now.
 
Posts: 2,454
Karma: 5469320
Join Date: Jul 2010
Device: Kobo
Exact same on my H2O as well.
robko is offline   Reply With Quote
Old 12-08-2014, 08:49 PM   #19
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Good to hear. When I saw the Touch and Glo were the same, I assumed the others would be as well.
davidfor is offline   Reply With Quote
Old 12-10-2014, 12:06 AM   #20
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Ok, the change is in and will be in the next calibre release.
davidfor is offline   Reply With Quote
Advert
Old 05-02-2015, 01:41 PM   #21
Patricius
Enthusiast
Patricius has learned how to buy an e-book online
 
Patricius's Avatar
 
Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
Seems this feature didn't works for my h2o, albeit the agent shown on the server log is the same with one in the first post. After clicking, the file extension still being .epub in the pop-up dialog and downloaded files.

Can anyone else confirm this bug with their device? I'm considering firing a bug if it's confirmed.

For env details, I'm using pre-compiled binary of calibre 2.27, installed by bash one-liner on official site, on Archlinux.

Last edited by Patricius; 05-02-2015 at 01:51 PM.
Patricius is offline   Reply With Quote
Old 05-02-2015, 11:52 PM   #22
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Patricius: What bug? The only bug with the Kobo firmware mentioned is if you cancel a download. But, I don't think that is what you are having a problem with. And Kobo do know about this bug.

If you are talking about how calibre is serving books to the Kobo ereaders, it appears to be working correctly for me. Can you describe what is happening and what you think should be happening?
davidfor is offline   Reply With Quote
Old 05-03-2015, 12:11 AM   #23
MGlitch
Wizard
MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.
 
Posts: 2,855
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
Just for the sake of clarity, does this just enable easier access for Kobo devices to the Calibre content server, or does it also allow for page syncing between devices?

My hunch is that it's aimed at the content server and accessing books anywhere. I only ask for a friend who has expressed interest in multiple device page syncing, I've only got the H2O and I'm quite happy with it.
MGlitch is offline   Reply With Quote
Old 05-03-2015, 12:21 AM   #24
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Better access for Kobo devices to the calibre content server. Or, more precisely, better handling of kepubs when downloaded from the calibre content server by a Kobo device.
davidfor is offline   Reply With Quote
Old 05-03-2015, 02:46 AM   #25
Patricius
Enthusiast
Patricius has learned how to buy an e-book online
 
Patricius's Avatar
 
Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
After looking at the 2.27 source, I realized it only works for kepubs, not for epubs.
Since renaming the epub into kepub.epub works for most books and gives better format consistency, maybe it's a good idea to let the epubs to be renamed in the same way.
Patricius is offline   Reply With Quote
Old 05-03-2015, 04:56 AM   #26
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Patricius View Post
After looking at the 2.27 source, I realized it only works for kepubs, not for epubs.
Since renaming the epub into kepub.epub works for most books and gives better format consistency, maybe it's a good idea to let the epubs to be renamed in the same way.
ABSOLUTELY NOT. Renaming an epub as a kepub is not enough. If you do that, the simplest problem is that the reading position won't be kept properly. If you close and reopen book, the best it will do is get back to the start of the chapter you were up to.

And if calibre did that, what would all the people who think that the kepub renderer is worse than the epub renderer do?

If you want to download books as kepub, convert them in calibre using the Kepub Output plugin.
davidfor is offline   Reply With Quote
Old 05-03-2015, 10:58 AM   #27
Patricius
Enthusiast
Patricius has learned how to buy an e-book online
 
Patricius's Avatar
 
Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
Quote:
Originally Posted by davidfor View Post
ABSOLUTELY NOT. Renaming an epub as a kepub is not enough. If you do that, the simplest problem is that the reading position won't be kept properly. If you close and reopen book, the best it will do is get back to the start of the chapter you were up to.

And if calibre did that, what would all the people who think that the kepub renderer is worse than the epub renderer do?

If you want to download books as kepub, convert them in calibre using the Kepub Output plugin.
You're right. I should have spent some time to understand differences between epub and kepub. I copied a epub to my device with modified extension and assumed it worked well after seeing the footer and reading stat.

Thank you for pointing out this and the kepub plugin.
Patricius is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A warning for Linux users: slow "Add Books", "Unknown" title and Author rolgiati Library Management 8 07-24-2013 04:36 PM
Touch Quick question: Does the Nook not display sideloaded content under "new reads"? rahulm Barnes & Noble NOOK 2 07-05-2011 11:52 PM
Can "books in the cloud" work? stonetools General Discussions 78 04-03-2011 01:32 AM
Question about the "share" feature on sideloaded books Randomhero Nook Developer's Corner 0 02-04-2011 02:22 AM


All times are GMT -4. The time now is 10:42 AM.


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