11-20-2009, 07:16 AM | #46 | ||
Fanatic
Posts: 527
Karma: 470
Join Date: Sep 2007
Location: The Netherlands
Device: Kindle Oasis
|
Quote:
Quote:
And 95% of the people are not using Linux. For people using Windows or a Mac is is a very stable and simple option |
||
11-23-2009, 12:13 AM | #47 |
Connoisseur
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
|
I'm curious, Has anyone tried this with sugar sync? I know I can get a free dropbox account, just wondering if I can do it with the system I'm already using.
|
Advert | |
|
11-23-2009, 05:10 AM | #48 |
calibre2opds guru
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
Beau : well, I don't have enough free time to test but I had a look on their website, and they do offer public links to files you share... If these links are consistent (i.e. if you can get a public link to a directory, and then simply append the file name to get the public link to a file in this directory) then it would definitively work. You should try and tell us !
|
11-24-2009, 12:10 AM | #49 |
Connoisseur
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
|
I may need a little help with that... I'm afraid I look at comand lines and coding and my eyes cross.
Let me see if I understand the goal. we want to generate what is essentially an ftp page, yes? Currently if I was to put all of my epubs in a file and designate it to sync, it would be automatically synced to my online server (yes I can get an address for a specific file, though I can see a problem that may occur later) Sugar sync automatically makes every file a link. The 2 things I haven't quite figured out how to do are: how to get a single file with all of the epubs in it (thats what stanza has to access, right??) And secondly... sugarsync recognizes that I am browsing by ipod/iphone and only lists 10 or so books per page. Will I need to have multiple addresses for each page or can one navigate from within the stanza download portal. Sorry to be so dumb about this. You can point me to some resources too. I'm sorry I've looked at the directions posted and I still don't understand. Where exactly do I find the command line? Beau |
11-24-2009, 05:32 AM | #50 |
calibre2opds guru
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. |
Advert | |
|
11-24-2009, 12:51 PM | #51 |
Connoisseur
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
|
So let me see if I understand this correctly...
We have the callibre folder which contains all of it's associated books and metadata. This is already being automatically synced for me. Then we create a second db file (that also syncs with sugarsync?) that tells stanza where to find the book we are looking for. There needs to be a stable address to access this db file on sugar sync for stanza to be able to access it. Is that correct? Now for the really ... ok... not smart question. where/how does one access the command line? What exactly do I put in it? And is it correct to create this new db file within the calibre folder? would that make the addressing consistant during the sync? Does it even matter? Thank you so much for your patience. |
11-24-2009, 02:05 PM | #52 | |||||
calibre2opds guru
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
Let's
Quote:
Quote:
Quote:
Let's see this one Quote:
Quote:
No problem, my pleasure ! |
|||||
11-25-2009, 12:08 AM | #53 |
Connoisseur
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
|
Ok, I have designated the calibre folder in sugar sync as shared, no password, editable. I have a stable link for this folder. (it is a secure link - https://www.sugarsync.com/share/br.....ej, does that matter?)
I opened my command line (windows vista), copied the command line from the first post with my address in place of yours, hit enter.... and got nothing. I should have also been able to generate this db file on my computer (and in the calibre folder) by substituting the folder location in place of the http address too, right? That also did not do anything. Am I being thick headed or .... ? Thanks again! Beau |
11-25-2009, 05:27 AM | #54 | ||
calibre2opds guru
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
Quote:
Code:
c:\data\dropbox\My Dropbox\Public\calibre_library>"c:\Program Files\Calibre2\calibredb.exe" list --output-format stanza --prefix http://dl.getdropbox.com/u/788541/calibre_library > stanza.xml Quote:
Not at all, I just need time adapting my explanations : eventually, they will be clear enough for everyone to understand ! PS : I edited the original post, tell me if it's clearer ! Last edited by dpierron; 11-25-2009 at 05:41 AM. |
||
11-25-2009, 02:42 PM | #55 |
Connoisseur
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
|
I've gone and looked at the first post,and yes it does seem easier to understand to me... though I think that is both your detailed explanation and your kind tutoring.
I have one other question, of course... Re:The French quotes around the addresses of the final command-- Are they used like parenthesis in a mathematical equation to designate a single process or set to run as a unit separately --- and therefore used all of the time, or are you using them for demonstration purposes? I won't have time to try this until later, but will let you know how it goes. Thank you so much dpierron. I can't say enough how much I apprieciate your willingness to take the time to explain things. ps BTW... After all of this work, I'm thinking about trying this, http://www.pogoplug.com/ when the new version is released. I'm sure that all of your good tutoring will be helpful for that as well. Last edited by Beau; 11-25-2009 at 02:48 PM. |
11-25-2009, 03:02 PM | #56 |
Member
Posts: 11
Karma: 12
Join Date: Nov 2009
Device: Kindle2
|
calibredb list --output-format stanza shows no books
Hi,
I'm trying this tip out, and while calibredb list in text or xml format looks fine, if I use output-format stanza, it's basically a blank xml feed, with only the headers. Any ideas? |
11-25-2009, 03:10 PM | #57 | |
Member
Posts: 11
Karma: 12
Join Date: Nov 2009
Device: Kindle2
|
Quote:
Code:
$ calibredb list --output-format stanza --prefix http://dl.dropbox.com/u/XXXXXX/Ebooks<?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>calibre Library</title> <author> <name>calibre</name> <uri>http://calibre.kovidgoyal.net</uri> </author> <id>urn:calibre:main</id> <updated>2009-11-25T18:38:00Z</updated> <subtitle> Books in the calibre database </subtitle> </feed> bruce:Ebooks blysik$ |
|
11-25-2009, 03:14 PM | #58 | |
Connoisseur
Posts: 77
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, iphone, Galaxy Tab
|
Quote:
Just so you know, this could be bad info... Beau |
|
11-25-2009, 03:14 PM | #59 | |
Member
Posts: 11
Karma: 12
Join Date: Nov 2009
Device: Kindle2
|
Quote:
Thanks! |
|
11-25-2009, 03:29 PM | #60 | ||
calibre2opds guru
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
Quote:
Quote:
No problem, you're totally welcome : it's my pleasure ! |
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to use Dropbox with Calibre | BAD18 | Related Tools | 5 | 11-09-2011 09:52 AM |
Apple Tries To Acquire Dropbox for $800 Million, Dropbox Refuses | jocampo | News | 166 | 09-17-2011 03:06 PM |
Calibre and Dropbox question | jhempel24 | Related Tools | 3 | 05-19-2011 07:41 AM |
Using dropbox and Calibre | totaltech | Related Tools | 7 | 04-29-2011 03:28 PM |
calibre and dropbox error | modkindle | Calibre | 6 | 04-26-2010 11:57 PM |