06-18-2012, 04:24 PM | #46 |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Special request, would it be possible to add an option to COPS to use a uuid (urn:uuid:<uuid>) instead of the current id (calibre:books:<calibre_id>). Each book in Calibre already has a uuid associated with it in the database (in TABLE books COLUMN uuid) which can be used for this purpose.
Using calibre:books:<calibre_id> as the identifier causes collisions in Stanza when using multiple libraries. Thanks! |
06-19-2012, 04:28 AM | #47 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Hi,
Sure I can easily add that (and probably even make it the new default). As I never encountered this problem before, does the problem happen only with books or also with other items (author, tags, ...) ? My point is : should I add an id for the catalog so that all id in the OPDS feeds can be prefixed with it. Last edited by vlad59; 06-19-2012 at 04:38 AM. |
Advert | |
|
06-19-2012, 12:03 PM | #48 | |
Member
Posts: 15
Karma: 12
Join Date: Apr 2012
Device: ipad
|
setting apache to works with the download/1/XXX.epub link :
the .htaccess : Quote:
$config['cops_x_accel_redirect'] = "location"; the download link now works with apache |
|
06-19-2012, 02:34 PM | #49 | |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
Early versions of Calibre actually had the same issue and I guess it's part of the reason Kovid moved to using uuid's instead. Issues with Stanza when using two instances of Calibre? |
|
06-20-2012, 12:54 PM | #50 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@ilovejedd
I just pushed the change to github. It's the new default (no new config item) @gaspine Thanks for the rewriting rule, I'll add it to the README later. |
Advert | |
|
06-20-2012, 01:35 PM | #51 |
hopeless n00b
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
|
06-28-2012, 02:53 AM | #52 | |
Enthusiast
Posts: 49
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
|
Quote:
When I access the feed via my browser I get this error (line and column numbers vary) on each of the letters that don't show in Mantano. I also discovered that FBReader (like the browser) only shows the books up to the error. This page contains the following errors: error on line 376 at column 57: xmlParseEntityRef: no name Below is a rendering of the page up to the first error. Can anyone shed any light on what the problem may be and what I need to do to fix it? Thanks Jill |
|
06-28-2012, 03:21 AM | #53 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Hi,
I recently fixed some problem with incorrect handling of & and other special characters in OPDS feed. Maybe that's your problem. Please check all the book starting with F : does the title / author / tags have any special characters ? |
06-28-2012, 07:50 AM | #54 |
Enthusiast
Posts: 49
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
|
Just logged on to say that my problem (or at least part of it) was books with "&" in the series name - and found you had replied. I had already updated to the latest version, so could it be that your fix didn't cover this situation? In any case, I have now removed the "&" from the series names and all is ok from the browser & FBReader.
Thanks again Jill |
06-28-2012, 10:29 AM | #55 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
I just checked latest git and the fix should be here. But latest released version definitely has the bug.
If you're using latest git then I really don't know what's happenning. Anyway I'll try to release a new version soon. |
06-28-2012, 05:03 PM | #56 |
Enthusiast
Posts: 49
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
|
Sorry, I am using the latest released not the latest git. Will checkout the git when I get a chance and should be problem solved
Jill |
06-30-2012, 07:24 AM | #57 |
Enthusiast
Posts: 49
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
|
After a hard drive failure yesterday I have re-installed COPS and seem to have most things working ok, but I am getting the following 404 Not Found error when I try to download a book via HTML (downloads via opds catalog from within FBReader work fine).
'The requested URL /books/download/490/ was not found on this server.' Is there something silly I have forgotten to set up correctly? I don't know if this was working for me previously as I hadn't tried to download via HTML before now. I also seem to have some books that still do not show up in the opds catalog, but they all appear to be included in the HTML catalog. I haven't yet had time to isolate all the missing titles, but hopefully once I do I will find something common to them all. Jill |
06-30-2012, 12:35 PM | #58 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
The download problem with /download was already reported.
Anyway I'll repeat the HTML catalog is a work in progress so it could only be working for me. I've added some URL rewriting to allow epub download on my Kobo touch. I'll explain better on next release. |
06-30-2012, 04:54 PM | #59 |
Enthusiast
Posts: 49
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
|
Thanks Vlad - I thought I saw that the download thing was fixed but I must have misread that.
Jill |
07-02-2012, 04:09 PM | #60 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
COPS 0.1.1 is out with the following changes (First post to download) :
* A lot of bug fixes in HTML catalog * Fixed the book comment in OPDS (broken in some rare case) * Fixed handling of HTML reserved characters * Changed book OPDS id to use an UUID (thanks to ilovejedd for the bug report) * Add new config item for the default timezone (thanks to gaspine) * Better handling of missing covers * Should support every book format supported by Calibre (thanks to Artem) * URL rewriting is off by default for the HTML catalog * Add some documentation about URL rewriting (thanks to gaspine and Christophe) * Tested and ready to use with PHP5.4 As you see there was a lot of changes. I tried to test it correctly so hopefully there will be no regression ... . With this release the HTML catalog is almost ready. I just have some fixes to do for my Kobo and the look with smartphones and v0.2.0 will be out. The download link is in the first post. You can have a look at the HMTL catalog here : * http://cops-demo.slucas.fr/index.php The full sources (with HTML catalog) are available on github : * https://github.com/seblucas/cops You can create issue / merge request if needed. Happy testing. |
Tags |
calibre opds, dns, kobo aura, synology |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre OPDS server with windows apps? | nickdma | Related Tools | 10 | 03-03-2024 03:53 PM |
[Old Thread] Android FBreader and Calibre OPDS server question | kalex | Calibre | 5 | 12-24-2015 11:16 PM |
PHP+Apache web server for calibre ... | chaley | Related Tools | 254 | 04-28-2014 09:18 PM |
External OPDS catalogue in Calibre | bolton | Calibre | 1 | 09-05-2012 07:14 AM |
Calibre Command Line usage with PHP | artoros | Related Tools | 13 | 07-01-2010 10:57 AM |