03-04-2012, 12:16 PM | #1 |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Calibre2opds v3 - OPDS catalogs from your Calibre library
Description:
The calibre2opds tool can generate OPDS and HTML catalogs from the metadata of the Calibre ebook library manager. The calibre2opds catalogs are intended for scenarios where use of the Calibre Content Server is not appropriate (see here for a comparison). These catalogs can then be used both to browse your ebook library online and also to download books on demand. After a long gestation period Calibre2opds v3.0 has been made generally available. This release has many new features and also many bug fixes for issues found in earlier releases. The scale of the changes can be seen by examining the release notes for this release: NOTE: Please note that a silly typo made its way into the rev150 version originally posted as 3.0 that would stop summaries showing. A revised 3.0 release (rev 151) is now available for download which corrects this. Spoiler:
You can discuss calibre2opds here in the Calibre mobileread forum, or use the dedicated calibre2opds forum shown in the links below. Useful links Last edited by itimpi; 03-05-2012 at 01:38 AM. |
03-16-2012, 01:14 PM | #2 |
Addict
Posts: 241
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
|
Fix: #840830 Command line not working in Windows
catalog cli generation just sits there doing nowt, just like other versions after 2.3 for me. I put an echo just before the call in the cmd file so the line is reached. back to 2.3 for me. |
Advert | |
|
03-17-2012, 06:45 AM | #3 | |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
If you want it to be progressed, then I suggest that you open an issue about it at http://calibre2opds.myjetbrains.com/youtrack/ providing as much information as you can about your environment (e.g. OS, java version), and what the symptoms actually are. I could not tell from your description whether the program appears to be running and doing nothing or whether it is not running for some reason. Ideally the info provided would include the calibre2opds log from a failed attempt (if one has been produced) and the configuration (.xml) file that was meant to have been used. |
|
03-17-2012, 03:09 PM | #4 | |
Addict
Posts: 241
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
|
Quote:
to be honest I don't want to sign up to yet another site - i loose track of them all. But if it helps here is the info windows vista home edition Verified Java Version Congratulations! You have the recommended Java installed (1.7.0_02). gui generation works. When running run.cmd task manager shows javaw.exe running but the dos box remains blank until the press any key prompt, javawe then disappears from task manager - so it does run. no log generated. There appears to be no configuration xml... (searched for *.xml, config*.* catalog.* all sorts. I'm pretty sure it doesn't exist. Meanwhile 2.3 just works. |
|
03-17-2012, 03:21 PM | #5 |
Connoisseur
Posts: 56
Karma: 64
Join Date: Nov 2007
Device: Kindle
|
I used to be able to exclude books based on a tag in Calibre so that books tagged with, for example, "Programming" would not show in the generated catalog. Is it still possible to do that (I'm not seeing that field any more)
Oh, I see that you now have to save the tag as a search within Calibre and then specify the named search. Works great. Last edited by SirBC; 03-17-2012 at 03:29 PM. |
Advert | |
|
03-17-2012, 03:23 PM | #6 |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
If you do not want to raise an issue, then I am afraid it is much harder to progress it unless the problem is obious - and it probably is not as I can run batch mode with no problems.
Strange about the program you mention is running - it should not be running javaw.exe but java.exe in batch mode. There MUST be a confguration file somewhere as it is set up and used by the GUI. The location can be found from the Help menu in the GUI. If somehow it does not exist (or is not found) then the batch mode will definitely fail. The same should apply to the log file. You could also get a batch mode fail if you are not running under the same user as was used for the GUI as the configuration file is stored at the user level unless you give over-ride parameters for its location at run time. If you start the RUN.CMD file from a DOS window while located in the Calibre2Opds install folder you may well get some useful information displayed about the startup process which could give an indication as to why things are not working. |
03-17-2012, 03:37 PM | #7 | |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
The use of Search Criteria is discussed here in the online documentation which details both the syntax and the fields that can be used within filters. It also provides some examples which are relevant to your case. Search criteria are now also used in other places such as for defining featured books catalog section or custom catalog sections. For your specific example you could use something like: Code:
not tags:"=Programming" |
|
03-17-2012, 04:43 PM | #8 | |
Addict
Posts: 241
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
|
Quote:
Right the logs etc were in the USER folder (in my case Dave). I was expecting it to be in the calibre2opds or calibre _catalog folders. Anyway I deleted the logs and ran the command line file and was amazed to see it re-appear. Seems it was running - but the echo off at the start of the file makes it seem like nothings happening. What happened to the * ** *** **** progress reports? Anyway I ran it from a task schedule and it gave a "java main class not found" (or some such at the end - sorry to be so vague). The upshot is I can't leave it to automate whilst I'm away from home. A shame. But to be honest 2.3 does a good job for me and i don't want to waste any more of your valuable time, so i'll leave alone. Best of luck with the project. Dave |
|
03-18-2012, 10:56 AM | #9 |
my parent's oops...
Posts: 485
Karma: 1477572
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW
|
Has anyone figured out how to run c2o on an automated process under Mac? I looked at the documentation re: advanced usage but the section on automatic generation on Mac still needs to be figured out. It is not an area I am very good at so I was wondering if anyone else had already figured it out. tia for any suggestions.
|
03-18-2012, 12:50 PM | #10 |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
If no-one comes forward in the meantime, then I am visiting a friend in a few weeks time who is a serious Mac user and I will see if I can get it to work on his system and document the results. I think it will be very easy once one has been shown what is required.
|
04-27-2012, 11:59 PM | #11 |
my parent's oops...
Posts: 485
Karma: 1477572
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW
|
Custom column in the book description for c2o?
Hi, I have the count pages custom column in calibre and was wondering if there is anyway to insert that data (ie word count) under the book description in the generated catalogs. I suspect not, but thought I would ask.
|
04-28-2012, 01:35 AM | #12 |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Sorry, but there is currently no support for Custom columns in Calibre2opds.
|
05-09-2012, 09:28 PM | #13 |
Banned
Posts: 640
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
|
I upgraded to ver 3.1 this evening and now I can't get the shortcuts to work. I see a command window come up briefly then it goes away. I tried manually running the rungui.cmd file in the program directory and it does the same. The only program I can get to run is "OpdsOutput-3.1-SNAPSHOT.jar". That seems to bring up the full program and I can then run it. Is that the normal main program file? I don't remember it that way.
I tried this also on my laptop. First I successfully brought up ver 3.0. I then closed it and installed ver 3.1. Now it doesn't load on that computer either unless I navigate to the folder and run the snapshot.jar file. |
05-10-2012, 01:20 AM | #14 |
Wizard
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
That is definitely not expected behaviour!
The rungui.cmd file has changed to try and better handle finding Java automatically, but it sounds as if something is going wrong on your system although it is not clear what! One way to find out might be to:
The RUNGUI.cmd file does finish by trying to run "OpdsOutput-3.1-SNAPSHOT.jar", but it provides additional parameters such as setting the amount of RAM that Java should use. It is extremely strange that you can run this directly and not via the RUNGUI.cmd batch file. One workaround might be to take the RUNGUI.cmd file from the 3.0 release and edit it in a text editor so the lines near the end that actually launches calibre2opds refer to 3.1 rather than 3.0. However I would like to get to the bottom of why the new RUNGUI.cmd file is failing on your system as otherwise it will keep failing in future releases. Last edited by itimpi; 05-10-2012 at 01:24 AM. |
05-10-2012, 06:54 AM | #15 | |
Banned
Posts: 640
Karma: 4911
Join Date: Jul 2007
Location: Grapevine, TX
Device: iPad4
|
Quote:
Code:
Calibre2opds startup ==================== ' [INFO] Trying to locate Java on this system [INFO] ==================================== [INFO] Java location not found via JAVA_HOME environment variable [INFO] Java not found in default 32-bit JRE6 location [INFO] Java not found in default 32-bit JRE7 location [INFO] Java found at default 64-bit JRE6 location [C:\Program Files (x86)\Java\j re6] ' "-----------------------" " Calibre2Opds STARTING " "-----------------------" ' \Java\jre6\bin\JAVAW.EXE"" was unexpected at this time. C:\Program Files (x86)\Calibre2Opds> |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[The Older version] Calibre2opds V2 | dpierron | Related Tools | 537 | 04-06-2012 09:43 AM |
List of Free Online OPDS Catalogs? | Madmick | General Discussions | 1 | 01-14-2012 12:09 AM |
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 |
Call for comments: OPDS Catalogs 0.9 draft (open catalog standard ebooks) | zelda_pinwheel | News | 4 | 05-14-2010 01:02 PM |