Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 12-22-2009, 03:47 AM   #31
cistehovado
Member
cistehovado began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Dec 2009
Device: iphone
I translated almost all,
only the part "information messages" (and some few lines) are not translated yet, I need to see output from translated program, so I can choose sentences and words better ;-)
Attached Files
File Type: rar translation slk resources.rar (3.0 KB, 547 views)
cistehovado is offline   Reply With Quote
Old 12-22-2009, 04:00 AM   #32
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
Thanks cistehovado !

If you want to test, and know how to extract/compress a zip file, here is what you can do :
Find the file named StanzaOutput-0.0.7-SNAPSHOT.jar, somewhere in the tool's installation directory (should be in repo\fr\free\davidsoft\calibre\StanzaOutput\0.0.7-SNAPSHOT).
Extract this file (it's a simple zip file, use Winzip or, even better, Total Commander) and add your Enumerations_sk.properties and Localization_sk.properties files along with the _en and the _fr ones.
Recompress the zip file, and start the tool with the "--lang sk " parameter and voilà !
dpierron is offline   Reply With Quote
Advert
Old 12-22-2009, 04:31 AM   #33
cistehovado
Member
cistehovado began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Dec 2009
Device: iphone
Ok I will try it at home where do I have my book collection, btw dont you have an idea how to solve my problem https://www.mobileread.com/forums/sho...244#post706244
cistehovado is offline   Reply With Quote
Old 12-22-2009, 05:09 AM   #34
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
No, sorry, I'm not fluent in Python ; I'm certain Kovid will react and help you quite fast, he's usually reactive.
dpierron is offline   Reply With Quote
Old 12-24-2009, 12:16 PM   #35
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
I made a new release (0.0.8) ; you'll find it at the usual place...

Changelog :
  • split by letter for all catalogs, when the --maxBeforeSplit option is reached
  • added icons in all the elements of the catalogs
  • added icons in the HTML catalogs, too
  • added a check to rebuild thumbnails when --thumbnailHeight has changed
  • changed the way the "split by letter" catalog entries are described
  • added the --nogeneratefiles options, to skip download links in the OPDS catalogs (useful for demos)
  • added the --nomixbooks option, when set the books and their containers are never mixed (by inserting additional container levels)
  • enhanced authors, tags, series, and all books container summaries

I'm preparing a demo catalog, which will be referenced in the tool's website ; I'll let you know when it'll be ready.

For the people who would like to help in translating the tool, here are the translation files (attached) ; I'm ready to help anyone willing to help me

Last but not least, I'd like to thank everyone who supported me and specially Ian, who was kind and patient and whose excellent ideas were the base of almost all the options of the tool
Thanks Ian !

Cheers,
David.
Attached Files
File Type: zip translations.zip (6.5 KB, 581 views)

Last edited by dpierron; 12-24-2009 at 12:21 PM.
dpierron is offline   Reply With Quote
Advert
Old 12-25-2009, 06:08 AM   #36
hakan42
Zealot
hakan42 is on a distinguished road
 
hakan42's Avatar
 
Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
for this excellent tool, I was just about to write a library to access the calibre DB myself, so you saved me quite a bit of work

One question, though, would you like to deploy the artifacts from your library directly to central? It would make using your code as a library for other application easier and would help with making other developers aware of your code also.

I'm using the services of the good people at sonatype.org to mirror some of my artifacts (for now osmosis and postgis) to central, too, so I could lend a hand if necessary.


Regards,
Hakan
hakan42 is offline   Reply With Quote
Old 12-26-2009, 06:33 AM   #37
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
Thanks for the compliments !

My tool is made of three libraries : one for accessing the Calibre db and modelizing the data, one which is a generic tool library, and one that is the actual catalog exporter.

The problem is, these libraries evolve very fast at the moment, while I'm at the start of the project (and in a beta phase).

Later, I'll happily oblige and publish the libraries in the M2Central repository, but for the moment I think that it would be quite unpractical. Don't you agree ?

Anyhow, you're more than welcome to either make use of these open-source components, and even more welcome to come join me in this project, doing whatever you wanted to build at first...

Regards,
David.
dpierron is offline   Reply With Quote
Old 12-26-2009, 01:58 PM   #38
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
Change of name (the tool is now called calibre2opds), hosting (on Launchpad) and a new release (1.0.0) ...

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)
dpierron is offline   Reply With Quote
Old 12-28-2009, 12:23 PM   #39
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
Would it make me a irrecoverable megalomaniac if I asked a moderator to pin this thread ? Ooops too late, I did ask ;o)
dpierron is offline   Reply With Quote
Old 12-30-2009, 05:24 AM   #40
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
A new version has been released :
  • added the --nouseauthorsort option, which makes the tool resort to the author name for sorting, instead of the special Calibre 'sort' field
  • added the --catalogtitle option, to allow for custom catalog titles
  • corrected a bug in the "split by letter" catalogs, with the "other" split element
dpierron is offline   Reply With Quote
Old 01-02-2010, 11:49 AM   #41
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I notice that with the latest 1.01 release that some of the '/' characters in URL's for appear to be escaped to give %2F. I believe that this is incorrect behaviour as if the browser does not translate them back to '/' characters before sending the URL to the web server they do not get treated as directory separators so you end up with file not found errors.

I also notice that the "Downloads, links and other catalogs" popup does not work with IE8. Even though one might think that other browsers such as Firefox are better, I still think it is wrong to use HTML that does not work with IE if it can be avoided as it is still the browser with the largest market share. It is possible that this is related to the issue in the first paragraph, but I am not certain.
itimpi is offline   Reply With Quote
Old 01-02-2010, 12:38 PM   #42
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
I made a new release that corrects two bugs (and adds an icon to the program) :
  • corrected a NullPointerException bug when a book has no author
  • books sorted by letter were then sorted in reverse alphabetical order
dpierron is offline   Reply With Quote
Old 01-02-2010, 12:43 PM   #43
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Does that correct the bug I mentioned above where '/' characters in URL's are incorrectly escaped?
itimpi is offline   Reply With Quote
Old 01-02-2010, 02:31 PM   #44
peterloron
Member
peterloron began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2009
Location: WA
Device: iPhone Stanza
When I try to run the tool, I get the following output. Any suggestions? Thanks!

Code:
peterl@myth:~/calibre2opds$ bin/calibre2opds /library/books/metadata.db 
calibre2opds v1.0.1

Please join us on MobileRead to discuss this tool !
(https://www.mobileread.com/forums/showthread.php?t=64095)

Based on Calibre2Web, a Visual Basic script written by itimpi for MobileRead users
(https://www.mobileread.com/forums/showthread.php?t=33388)
Thanks to him for the idea and the work he spared me !
Also, thanks go to Kovid Goyal for the excellent Calibre
(http://calibre-ebook.com/)
and to the Lexcycle people for Stanza
(http://www.lexcycle.com/)

01:26:15,169 INFO  [Catalog] database folder            : /library/books/metadata.db
01:26:15,170 INFO  [Catalog] catalog folder             : _catalog
01:26:15,171 INFO  [Catalog] catalog title              : Calibre library
01:26:15,178 INFO  [Catalog] elements before pagination : 25
01:26:15,179 INFO  [Catalog] elements before split      : 75
01:26:15,179 INFO  [Catalog] books in recent additions  : 100
01:26:15,179 INFO  [Catalog] wikipedia language         : en
01:26:15,179 INFO  [Catalog] included formats           : ALL
01:26:15,181 INFO  [Catalog] save bandwith              : yes
01:26:15,182 INFO  [Catalog] thumbnail height           : 90
01:26:15,182 INFO  [Catalog] generate HTML catalogs     : yes
01:26:15,182 INFO  [Catalog] generate HTML downloads    : yes
01:26:15,182 INFO  [Catalog] generate OPDS downloads    : yes
01:26:15,182 INFO  [Catalog] split tags using           : no split
01:26:15,182 INFO  [Catalog] mix books and containers   : yes
01:26:15,183 INFO  [Catalog] use author sort field      : no
01:26:15,183 INFO  [Catalog] loading and filtering database
01:26:15,408 ERROR [DatabaseRequest] java.sql.SQLException: no such table: books
Exception in thread "main" java.lang.NullPointerException
	at com.gmail.dpierron.calibre.database.Database.listBooks(Database.java:50)
	at com.gmail.dpierron.calibre.datamodel.DataModel.getListOfBooks(DataModel.java:78)
	at com.gmail.dpierron.calibre.opds.RemoveEmptyAndNotInIncludedFormats.runOnDataModel(RemoveEmptyAndNotInIncludedFormats.java:42)
	at com.gmail.dpierron.calibre.opds.Catalog.createMainCatalog(Catalog.java:1237)
	at Main.run(Main.java:26)
	at Main.main(Main.java:286)
peterloron is offline   Reply With Quote
Old 01-02-2010, 02:32 PM   #45
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
No, sorry, I didn't see your message before posting mine ; I'll check this though, thanks for the heads up.
Could you file a bug report at Launchpad and give me some examples, so I can be sure I correct the bug thoroughly ?
Thanks,
David.
dpierron is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre->Calibre2Opds->Fbreader Network Library - No Download Icon boredsysadmin Calibre 2 01-16-2011 08:00 PM
Your personal online OPDS-library wdonne Self-Promotions by Authors and Publishers 9 01-04-2011 03:34 AM
Calibre, calibre2opds,and NOOK - best way to keep catalog up to date? rubyv Calibre 8 09-01-2010 12:16 AM
Call for comments: OPDS Catalogs 0.9 draft (open catalog standard ebooks) zelda_pinwheel News 4 05-14-2010 01:02 PM


All times are GMT -4. The time now is 05:53 PM.


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