![]() |
#31 |
Member
![]() 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 ;-) |
![]() |
![]() |
![]() |
#32 |
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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à ! |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Member
![]() Posts: 20
Karma: 10
Join Date: Dec 2009
Device: iphone
|
Ok I will try it at home
![]() |
![]() |
![]() |
![]() |
#34 |
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#35 |
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 :
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. Last edited by dpierron; 12-24-2009 at 12:21 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Zealot
![]() Posts: 136
Karma: 60
Join Date: Jul 2009
Location: Munich, Germany
Device: Nook Classic rooted; Galaxy S IV with Aldiko, other older devices
|
![]() ![]() 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 |
![]() |
![]() |
![]() |
#37 |
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#38 |
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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) |
![]() |
![]() |
![]() |
#39 |
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
![]() |
![]() |
![]() |
#40 |
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
|
A new version has been released :
|
![]() |
![]() |
![]() |
#41 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#42 |
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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) :
|
![]() |
![]() |
![]() |
#43 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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?
|
![]() |
![]() |
![]() |
#44 |
Member
![]() 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) |
![]() |
![]() |
![]() |
#45 |
calibre2opds guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |