View Single Post
Old 11-24-2009, 04:32 AM   #50
dpierron
calibre2opds guru
dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.
 
dpierron's Avatar
 
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
Hi Beau,

No problem asking for help, there are no dumb questions, only dumb people not asking questions

See, Calibre can be used to generate a catalog file (using the calibredb command), which contains a list of all your ebooks, along with the URL at which the corresponding ePub files can be downloaded ; this is the stanza.xml file I was talking about.

Then, Stanza is configured to access this catalog (using the public link of this file) and can list your books (without using the sharing service web page, Sugar Sync in your case) and download them when you need...

When using calibredb, you have to provide a parameter that is the base url of your calibre library directory, on your sharing service. This base url will be used to construct the url of each file in the catalog, by simply appending the (local) file path to the base url.

The main problem is that, sometimes, sharing services are not consistent with their public urls: for example, two files located in the same local directory will get totally different urls, making it impossible to find a base url for calibredb.

So, to answer your questions : there is no need to get all your epubs in a single file, it's the whole calibre library folder that is shared, and the stanza.xml catalog file is the single access point...

I hope it's clearer this way If you still need more explanations, feel free to ask !

David.
dpierron is offline   Reply With Quote