05-21-2012, 10:57 PM | #31 |
Enthusiast
Posts: 49
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
|
I have this mostly running ok, but there is one oddity when using Mantano and accessing the alphabetical list of books.
The 1-9, A-Z list with the correct number of books comes up ok, but when I then try to access the books under 9 of the letters (always the same 9) nothing shows up (or the previously selected list doesn't change). FBReader does not have this problem, so it is obviously something to do with Mantano. Any suggestions as to what I may have not set up correctly, or is this just another Mantano quirk? Jill |
05-22-2012, 03:21 AM | #32 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Hi jillmess,
I just tried adding a book starting by 9 to my Calibre library and everything works as expected on Mantano (I'm using latest Premium in case it's important). I really don't know what's happening, do you have access to apache's logs ? Maybe they'll help you finding a hint. |
Advert | |
|
05-22-2012, 06:57 AM | #33 | |
Enthusiast
Posts: 49
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
|
Quote:
Any book title starting with A, B, C, F, I, K, M, S, T or V (always only those 9 letters) doesn't show up when I select that letter from "All books by starting letter". They are in the list ok - it shows I have 43 books starting with the letter F for example but no books show when I actually select F. I should have access to the logs - just need to find where they are stored on the NAS. Thanks Jill Edit: Oops - just realised that is 10 letters (not 9) Last edited by jillmess; 05-22-2012 at 06:59 AM. Reason: correction |
|
05-22-2012, 07:24 AM | #34 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Sorry I really can't reproduce your problem.
Let's hope the logs will be interesting. |
05-23-2012, 08:56 AM | #35 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
COPS 0.0.4 is out with the following changes (First post to download) :
* More code refactoring to simplify code. * Changed OPDS Page id to match Calibre2Opds * Add icons to author, serie, tags and recent items (there is config item to disable it). * Fixed author URL * Added publishing date (works on Mantano) * Added Tags support The download link is in the first post. I have also updated the HTML catalog, but for now I didn't test everything on my Kobo so remember it's a very early alpha. http://cops-demo.slucas.fr/index.php I've added the search and a way to see the cover and book synopsis. Happy testing. Last edited by vlad59; 06-17-2012 at 01:51 PM. |
Advert | |
|
05-24-2012, 02:05 PM | #36 |
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
|
Just tried it on my Apache+PHP server. Appears to be working fine. One bug, if the content description contains an ampersand (&), it doesn't get converted to & so the script sometimes generates invalid XML.
|
05-26-2012, 05:43 PM | #37 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@ilovejedd
Thanks for the report I'll take care of that. |
05-30-2012, 09:43 AM | #38 | |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Quote:
Thanks in advance |
|
06-05-2012, 04:15 PM | #39 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
COPS 0.1.0 is out with the following changes (First post to download) :
* Add localization support (thanks to Calibre2Opds) * Hopefully fixed an issue with & in comment * HTML catalog is in the sources with no support (WIP) Beside bugs, I won't work on the OPDS part except if there is a really cool feature request. I'll try to finish the HTML catalog for the next release. The download link is in the first post. I have also lightly updated the HTML catalog : * 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. |
06-07-2012, 06:04 AM | #40 |
Member
Posts: 15
Karma: 12
Join Date: Apr 2012
Device: ipad
|
somes informations :
=> Got error, need to use date_default_timezone_set to get ride of this notice => On apache can't download book file, url is not valid /download/ID/book name, rewrite engine ??? => Search call for a kobo.php file, who don't exist in the html version. nice work |
06-17-2012, 12:13 PM | #41 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2011
Device: Sony prs-650
|
First of all thank you very much for your work. I have few questions:
- How can I password protect the access to the server? In particular I'm interested in using the passwd with stanza - clicking on the name of the author of a book look for a kobe.php that is not in the distribution. How to avoid this error? - some book have an epub button that, however, always point to a "download" directory that is not present. Is it there for future extension or did I misconfigured something? Thanks in advance Beppe |
06-17-2012, 01:49 PM | #42 | |||
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Quote:
It will work the same way with OPDS (tested with Mantano / FBReader) and HTML (Firefox / IE). Quote:
Quote:
Code:
location /download/ { rewrite ^/download/(\d+)/.*\.(.*)$ /fetch.php?id=$1&type=$2 last; break; } Thanks for your questions. |
|||
06-17-2012, 03:06 PM | #43 | ||||
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2011
Device: Sony prs-650
|
Quote:
Quote:
Quote:
and use directly calibre over USB for my reader. COP is for my iPads. Quote:
1. Create a passwd file outside the web tree for instance /usr/syno/apache/passwd/passwords" 2. Edit it by entering pairs of username passwd generated by using passwd generators available on line. For instance http://www.askapache.com/online-tool...sswd-generator 3. In the directory where you installed COPS add a file named .htaccess and paste in it the following lines Code:
AuthType Basic AuthName "Restricted resources" AuthBasicProvider file AuthUserFile /usr/syno/apache/passwd/passwords Order allow,deny Require valid-user # Uncomment next line if you want disable passwd check on local net #Allow from 192.168.0 Satisfy Any 5. Do not forget to redirect the access on https ... you are done Thanks a lot Last edited by beppe.bounces; 06-17-2012 at 03:08 PM. |
||||
06-18-2012, 01:52 PM | #44 |
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-18-2012, 03:57 PM | #45 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@beppe.bounces
Thanks for your help documenting Apache's way of handling passwords. @ilovejedd No problem, thanks anyway for your answer. I also found same problems with tags / series. @all If everything goes as expected next release will happen next weekend. HTML catalog is almost usable (I mean : it's ready for me but there is no configuration item and it has only been tested with Nginx). I also fixed some bugs in OPDS as well. |
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 |