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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-15-2011, 12:56 AM   #1
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 408
Karma: 24165
Join Date: Jun 2010
Device: Kindle Voyage
Web Server XML data

Caveat: Please read my entire post before saying this isn't a Calibre thing!

I recently purchased an android phone, and was excited to see an android app that ostensibly would sync with my calibre library through the web service that's built into calibre. For readers' edification, this is the app:
https://market.android.com/details?i...breLibrary.apk

The app performs very well, syncing just fine, with minimal setup, with calibre...with one little problem: it would only show .epub, .pdf, and a few other lesser formats. This was dismaying to me because I am a kindle owner, and the vast majority of my 1000+ ebooks are in .mobi format. After much back and forth with the app's author, basically, it came down to this, according to him:

Calibre doesn't push xml info for other formats such as .lit, .mobi, .azw, etc.

1. Is this so?
2. If it is, why doesn't it?

Understand, I am NOT trying to get any of the authors here to do the guy's work for him, I'm simply asking if he's correct in that statement. If he is, is there a good reason that calibre doesn't include other formats in the xml push? I'm asking as a layperson with no knowledge, so if someone tells me that there is a good reason, I'll accept it and move on. I'm hoping, however, that it's a legacy issue that might be updated in a future release.

To be clear, I'm just wondering if, and or why, the xml push doesn't include the other formats. It clearly DOES include them in some other manner, because they show up just fine in any web browser used to access the server.

If kovid or someone other developer thinks it would be helpful to see the emails, I'd be happy to provide them, or open a ticket if one of you thinks it would be helpful.

Steps I took to confirm various aspects of my post, here:

1. I used calibre's built-in test function (in the web server section) to ensure that, in fact, all of my books are being pushed, including .mobi and .epubs. There were, of course.

2. I checked that this was so in my android's browser. It was so.

3. I tested the app author's statement that his app was showing the xml scrape that calibre is putting out, by going to http://server:8080/stanza/ in my browser, where server is my local access to it. He was correct, the stanza server was only displaying epubs et al.

Last edited by gweminence; 02-15-2011 at 01:33 AM.
gweminence is offline   Reply With Quote
Old 02-15-2011, 01:05 AM   #2
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 408
Karma: 24165
Join Date: Jun 2010
Device: Kindle Voyage
I feel compelled to say that the more I think about this, the more I begin to think that this is a case of the app author simply being unwilling to do the work necessary to pull ALL of the information that calibre is pushing -- because clearly, calibre is doing IT'S job within the webserver, by serving up all formats for perusal.

I'll leave my post up, however. Perhaps it will engender a good answer for someone else trying to write such an app.
gweminence is offline   Reply With Quote
Old 02-15-2011, 01:18 AM   #3
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by gweminence View Post
3. I tested the app author's statement that his app was showing the xml scrape that calibre is putting out, by going to http://server:8080/stanza/ in my browser, where server is my local access to it. He was correct, the stanza server was only displaying epubs et al.
Stanza is a epub viewer thus the epub scrape for stanza. Maybe the app developer should develop using http://server:8080/mobile instead.

Last edited by DoctorOhh; 02-15-2011 at 01:22 AM.
DoctorOhh is offline   Reply With Quote
Old 02-15-2011, 01:21 AM   #4
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 408
Karma: 24165
Join Date: Jun 2010
Device: Kindle Voyage
Quote:
Originally Posted by dwanthny View Post
Stanza is a epub viewer thus the epub scrape for stanza. Maybe the app developer should develop using http://server:8080/mobile instead.
Which is what I mean when I say that this is a case of, perhaps, the guy not having the time or desire to pull all the data...which is unfortunate for him, because he's limiting half his potential market. Without wanting to start a format war...there's lots and lots of kindle users.

Ah, well.

Edit:

In his defense, that's not an actual access address, so I don't know that it's quite THAT simple.

Last edited by gweminence; 02-15-2011 at 01:24 AM.
gweminence is offline   Reply With Quote
Old 02-15-2011, 01:23 AM   #5
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by gweminence View Post
Which is what I mean when I say that this is a case of, perhaps, the guy not having the time or desire to pull all the data...which is unfortunate for him, because he's limiting half his potential market. Without wanting to start a format war...there's lots and lots of kindle users.
Alternatively you could do a bulk mobi to epub conversion and have both formats in your library.
DoctorOhh is offline   Reply With Quote
Old 02-15-2011, 01:30 AM   #6
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 408
Karma: 24165
Join Date: Jun 2010
Device: Kindle Voyage
Quote:
Originally Posted by dwanthny View Post
Alternatively you could do a bulk mobi to epub conversion and have both formats in your library.
ehhhh...with one library @ 1.04gb and the other at over 3gb...doubling the sizes of them is not something I want to do...particularly for no other reason than to go onto my phone...even with a 32gb micro sd card.

It just seems to me that a well-written app would take this into account. The information is THERE...it just needs be scraped. It makes me wish I was a developer because lo...here's an unaddressed niche...
gweminence is offline   Reply With Quote
Old 02-15-2011, 01:41 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre makes all formats available as long as you use the correct address

http://server/stanza is stanza only formats

http://server/opds is all formats
kovidgoyal is offline   Reply With Quote
Old 02-15-2011, 01:51 AM   #8
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 408
Karma: 24165
Join Date: Jun 2010
Device: Kindle Voyage
Ah, thanks Kovid, hopefully that'll be helpful.

Just curious, how come YOU don't write an android/ipod/et al app? It seems like it has the potential to become a good income stream, as the 'official' interface-from-your-phone app.

Last edited by gweminence; 02-15-2011 at 01:55 AM.
gweminence is offline   Reply With Quote
Old 02-15-2011, 01:55 AM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I get enough income from calibre, and I like to write powerful software, that is likely to remain useful for decades. Mobile phone apps just dont fit the bill.
kovidgoyal is offline   Reply With Quote
Old 02-15-2011, 01:58 AM   #10
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 408
Karma: 24165
Join Date: Jun 2010
Device: Kindle Voyage
Quote:
Originally Posted by kovidgoyal View Post
I get enough income from calibre, and I like to write powerful software, that is likely to remain useful for decades. Mobile phone apps just dont fit the bill.
Ah, well...I certainly think you've hit the target with calibre. I was thinking just that earlier when I was reading the 'when will you convert to python 3' thread. People were discussing timelines of 5-10 years, and I thought, "Yeah...I'll be using calibre that long."

Anyway, thanks yet again for your help.
gweminence is offline   Reply With Quote
Old 02-15-2011, 06:00 PM   #11
tonymaro
Junior Member
tonymaro began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2010
Device: Nook
Quote:
Originally Posted by kovidgoyal View Post
calibre makes all formats available as long as you use the correct address

http://server/stanza is stanza only formats

http://server/opds is all formats
I wasn't aware of the OPDS address in Calibre when I wrote the app - and being a nook / epub user I never really cared lol, but you should know even the opds display doesn't show .LIT files for some reason...

I've sent gweminence (well I assume you're the one I've been emailing with since midnight last night ;-) a test build that uses the opds interface to see if it works for him.
tonymaro is offline   Reply With Quote
Old 02-15-2011, 06:30 PM   #12
gweminence
Fat Guy
gweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notesgweminence can name that song in three notes
 
Posts: 408
Karma: 24165
Join Date: Jun 2010
Device: Kindle Voyage
Tony, it's showing .lit files. The app FC's upon clicking one, however.

You're SOO close to getting it.

Edit: It seems to be working with every format but lit, which it shows if lit is the only format available for a given book. Clicking on it causes the FC.

If a .lit is present with another format of the same book, .lit does not show up.

Hope that helps Tony. Thanks for writing this great app.

Last edited by gweminence; 02-15-2011 at 07:33 PM.
gweminence is offline   Reply With Quote
Old 02-17-2011, 10:11 AM   #13
tonymaro
Junior Member
tonymaro began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2010
Device: Nook
Quote:
Originally Posted by gweminence View Post
Tony, it's showing .lit files. The app FC's upon clicking one, however.
The reason the lit file shows is because OPDS is offering the thumbnail. It's not actually providing the link to the .lit file. My app sees that something is offered, displays the thumbnail but unfortunately didn't realize there was no actual download link so the download button craps out.

And really, most of the props should go to Kovid - he did all the hard work!
tonymaro is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't establish a reliable data connection to the server shebuilt Nook Developer's Corner 1 01-27-2011 06:35 PM
how to server up ebooks on my web site metras3 General Discussions 2 01-16-2011 11:43 AM
Web Content Server mezme Calibre 7 01-08-2010 09:59 PM
Mobile Content Server - search for or display series_index data? Starson17 Calibre 5 01-08-2010 04:12 PM
Calibre - web server problems eclpmb Calibre 9 11-28-2008 02:04 PM


All times are GMT -4. The time now is 06:01 PM.


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