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

Go Back   MobileRead Forums > E-Book Software > Calibre

Welcome to the MobileRead Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features.

If you have any problems with the registration process or your account login, please contact us.

Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience.

Notices

Calibre Calibre is an open-source library manager to view, convert and catalog e-books. Cross-platform (Linux, Windows and OS X)

Reply
 
Thread Tools Search this Thread Display Modes
Old 12-03-2009, 09:45 AM   #1
dpierron
Evangelist
dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.
 
dpierron's Avatar
 
Posts: 422
Karma: 1958
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, PRS-505
Lightbulb Calibre2OPDS

Hi folks,

You may remember this thread where I explained my setup with Dropbox automagically publishing my Calibre ebook library to the depths of the internet...

Well, I pushed the concept farther, and I developped a tool (heavily based on the cool Calibre2Web script by itimpi) that can extract data from the Calibre library, and use it to generate outputs - a sort of calibredbtool, only one that I can extend

This tool is written in Java, which means that, unlike his ancestor Calibre2Web, it'll run on any Java-enabled platform.

It is hosted on Launchpad and I intend on updating it often, so please join the project and make requests !

I've written a welcome page to explain everything, and there's even a demo HTML catalog available - and also, a demo OPDS catalog, if you want to try it in Stanza (although no downloads of eBook files are permitted in the demo)

There even is a FAQ (although it's a work in progress) and support for asking questions if anything is not clear enough.

As always, I'm ready to help if anyone needs it...
__________________

Last edited by dpierron; 12-28-2009 at 12:24 PM. Reason: renamed the tool and changed hosting
dpierron is offline   Reply With Quote
 
Enthusiast
Old 12-06-2009, 08:54 AM   #2
dpierron
Evangelist
dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.
 
dpierron's Avatar
 
Posts: 422
Karma: 1958
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, PRS-505
I uploaded a new release, which adds support for generating authors, series and recent additions catalogs.
__________________
dpierron is offline   Reply With Quote
Old 12-06-2009, 11:49 PM   #3
da_jane
Addict
da_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enough
 
Posts: 355
Karma: 676
Join Date: Sep 2006
Device: Sony PRS 700
You still need to generate the stanza.xml file, correct?

Edited to add: you do not need to generate the stanza file.
__________________
DearAuthor.Com
Reviews and Commentary of romance books and the publishing industry by the two Ja(y)nes.

Last edited by da_jane; 12-07-2009 at 12:25 AM.
da_jane is offline   Reply With Quote
Old 12-07-2009, 12:13 AM   #4
Leep
Evangelist
Leep plays well with othersLeep plays well with othersLeep plays well with othersLeep plays well with othersLeep plays well with othersLeep plays well with othersLeep plays well with othersLeep plays well with othersLeep plays well with othersLeep plays well with othersLeep plays well with others
 
Leep's Avatar
 
Posts: 460
Karma: 2984
Join Date: Jun 2008
Location: Near Seattle
Device: kindle, iPod Touch
Quote:
You may remember this thread where I explained my setup with Dropbox automagically publishing my Calibre ebook library to the depths of the internet...
Based on your previous post, I also installed Dropbox and have been using it to get ebooks from my laptop into Stanza on my son's iTouch. Works like a charm. Can you give us some more details on the benefit of using your new tool?

cheers
__________________

KindlePID Visual Wiki
before Amazon Edict!
Leep is offline   Reply With Quote
Old 12-07-2009, 04:57 AM   #5
dpierron
Evangelist
dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.
 
dpierron's Avatar
 
Posts: 422
Karma: 1958
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, PRS-505
da_jane: you found out eventually, but here is the confirmation : there is no need to generate the stanza.xml file, because it is in fact generated by the tool itself, in _catalogs/catalog.xml

Leep: this tool (and the Calibre2Web script it is based on) generates multiple catalogs, broken into smaller lists of books than the default Stanza catalog generated by Calibre. It is useful if you want to access your library, using Stanza, by author, serie, category or if you simply have a lot of books.
__________________
dpierron is offline   Reply With Quote
Old 12-07-2009, 08:47 AM   #6
da_jane
Addict
da_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enough
 
Posts: 355
Karma: 676
Join Date: Sep 2006
Device: Sony PRS 700
The all books that is generated does not include all my books (and yes, they are in epub format).
__________________
DearAuthor.Com
Reviews and Commentary of romance books and the publishing industry by the two Ja(y)nes.
da_jane is offline   Reply With Quote
Old 12-07-2009, 10:21 AM   #7
dpierron
Evangelist
dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.
 
dpierron's Avatar
 
Posts: 422
Karma: 1958
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, PRS-505
I uploaded a new release (0.0.3), which includes an extensive test mode. Could you please download it, install it wherever you install it usually, and run it with the "--test" parameter, in the calibre library directory ?

Example :

"c:\Program Files\calibredbxtract\bin\calibredbxtract.bat" --test >> test.log

Assuming of course that the tool is installed in c:\Program Files\calibredbxtract ...

This command will generate the test.log file, which is a text file that I'd kindly request you send me... (have a look inside if you're concerned about privacy, but basically it's a list of your books and the complete paths to their folders, along with the list of files that reside in these folders).

If you generate and send me this file, I may be able to track the problem and correct it !
__________________
dpierron is offline   Reply With Quote
Old 12-07-2009, 12:46 PM   #8
blysik
Junior Member
blysik began at the beginning.
 
Posts: 9
Karma: 12
Join Date: Nov 2009
Device: Kindle2
Quote:
Originally Posted by dpierron View Post
"c:\Program Files\calibredbxtract\bin\calibredbxtract.bat" --test >> test.log
Downloaded 0.0.3, having the same problem. It's only seeing 21 books.

Sending you the test.log shortly.
blysik is offline   Reply With Quote
Old 12-07-2009, 01:24 PM   #9
dpierron
Evangelist
dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.
 
dpierron's Avatar
 
Posts: 422
Karma: 1958
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, PRS-505
Yet another release : this time, I corrected some (important) bugs that will help with finding the missing ePub books, and introduced a test mode to help people who have problems with the tool...
__________________
dpierron is offline   Reply With Quote
Old 12-07-2009, 08:28 PM   #10
Beau
Connoisseur
Beau doesn't litterBeau doesn't litter
 
Posts: 63
Karma: 132
Join Date: Jul 2007
Device: Sony 700, ipod Touch, HTC touch
Jane is Da Bomb, and David is Da Man!

Question, Am I still going to have to find a way to deal with the spaces in my titles or is that already built in?

Thanks to you both!

Beau
Beau is offline   Reply With Quote
Old 12-07-2009, 10:52 PM   #11
iandix
Zealot
iandix has a complete set of Star Wars action figures.iandix has a complete set of Star Wars action figures.iandix has a complete set of Star Wars action figures.iandix has a complete set of Star Wars action figures.iandix has a complete set of Star Wars action figures.
 
iandix's Avatar
 
Posts: 104
Karma: 470
Join Date: Dec 2009
Location: NSW Australia
Device: iphone a Nook and a Sony PRS 600, but I love my Nook
I have it working now, after a few problems (David did wonders fixing) The spaces in the names have no effect. I have many spaces and and I now have all my books visible.
iandix is offline   Reply With Quote
Old 12-08-2009, 12:27 AM   #12
da_jane
Addict
da_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enough
 
Posts: 355
Karma: 676
Join Date: Sep 2006
Device: Sony PRS 700
To make it even easier for users, you can create a "batch file".

Go to Start -> Run

Type "notepad" in the Run box.

Notepad will open. Paste two lines of code:

First is the pathname to the calibredbxtract bin folder. The easiest way to do this is to copy and paste the path from the address line in a windows explorer window.

If you've placed it in the c:\Program Files\Calibre2\calibredbxtract then the first line of code will be
c:\Program Files\Calibre2\calibredbxtract\bin

The next line of code is where your Calibre library is calibredbxtract.bat +

c:\Documents and Settings\Username\Dropbox\Public\secretname\

Again, there should be two lines of code in your file that look something like this:

cd C:\Program Files\Calibre2\calibredbxtract\bin

calibredbxtract.bat C:\Documents and Settings\User\My Documents\My Dropbox\Public\secretfoldername


Save as "catalogmaker.bat" or something. Has to end with bat.

This creates an executable file and all you have to do is double click on the file to run the command to create your catalogs.
__________________
DearAuthor.Com
Reviews and Commentary of romance books and the publishing industry by the two Ja(y)nes.
da_jane is offline   Reply With Quote
Old 12-08-2009, 05:35 AM   #13
dpierron
Evangelist
dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.
 
dpierron's Avatar
 
Posts: 422
Karma: 1958
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, PRS-505
I released a new version (0.0.5) which corrects the problem reported by Bruce : the tool was missing a lot of books.

Please download it from the project page and report if you find any more bugs.

Also, feel free to register an account at Sourceforge and submit bug reports, and support or feature requests, I'll be happy to implement them !

PS : I've got some nice features in mind, I hope you'll like them
PPS : Jane, I included your helpful explanations in the tool's readme file ; I hope you don't mind !
__________________
dpierron is offline   Reply With Quote
Old 12-08-2009, 05:36 AM   #14
dpierron
Evangelist
dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.dpierron once ate a cherry pie in a record 7 seconds.
 
dpierron's Avatar
 
Posts: 422
Karma: 1958
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, PRS-505
Quote:
Originally Posted by Beau View Post
Jane is Da Bomb, and David is Da Man!

Question, Am I still going to have to find a way to deal with the spaces in my titles or is that already built in?

Thanks to you both!

Beau
Thanks Beau, it flies straight to the heart !
To answer your question (not that I need to, Ian already did) : no, you won't have problems with spaces nor with parentheses ; this tool is smart
__________________
dpierron is offline   Reply With Quote
Old 12-08-2009, 09:10 AM   #15
da_jane
Addict
da_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enoughda_jane will become famous soon enough
 
Posts: 355
Karma: 676
Join Date: Sep 2006
Device: Sony PRS 700
Thanks David! Version 0.0.5 really works beautifully.
__________________
DearAuthor.Com
Reviews and Commentary of romance books and the publishing industry by the two Ja(y)nes.
da_jane is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre: Database question edembowski Calibre 23 01-26-2010 07:02 AM
Reference Database in Calibre? nnxbtz Calibre 5 09-27-2009 06:16 PM
HELP! Please Please Please! (Calibre Database Crash) Abisha Calibre 7 06-10-2009 10:54 PM
Possible to get tags from the calibre database? GRiker Calibre 4 05-04-2009 02:30 PM
Managing the calibre database Student1 Calibre 8 03-28-2009 09:06 PM


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


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