08-16-2015, 12:08 PM | #1126 | |
Enthusiast
Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
|
Quote:
|
|
08-17-2015, 02:10 PM | #1127 | |
Enthusiast
Posts: 35
Karma: 28904
Join Date: Aug 2015
Device: none
|
Quote:
You can follow this issue here: https://github.com/koreader/koreader/issues/1593 |
|
08-19-2015, 06:59 AM | #1128 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2012
Device: Kobo Touch
|
I've just managed to get COPS working with IIS and my Kobo.
Works out of the box with my iPad, but the Kobo required URL rewriting. Steps taken: 1. Enabled URL rewriting in config_local.php 2. Enabled double escaping on the IIS: CMD as administrator: 3. Installed URL Rewrite 2.04. Configured URL Rewrite:CD c:\Windows\System32\inetsrv appcmd set config "MySiteName/ebooks" -section:system.webServer/security/requestFiltering -allowDoubleEscaping:true (where MySiteName is the name of the site in IIS, and ebooks is the name of my virtual directory where COPS sits) Left click on my eBooks virtual directory, right click on URL Rewrite and select Open Feature, then Add Rule. 5. Restart IISName: COPS rewrite for eBooks Requested URL: Matches the pattern Pattern: download/(.*)/.*\.(.*)$ Action: Rewrite Rewrite URL: fetch.php?data={R:1}&type={R:2} Append query string: Tick Stop Processing of subsequent rules: Tick Apply Go back to the list of rules, and select it. Move it up so it is above the default Short URLs rule (you will be warned that rules won't be inherited anymore but that's fine) 6. Test! If it isn't working, then you will need to enable failed request tracing to see what the cause is. I found this article very useful to see where I had gone wrong. http://www.iis.net/learn/extensions/...-rewrite-rules Regards, Richard. |
09-03-2015, 07:22 PM | #1129 |
Enthusiast
Posts: 48
Karma: 10
Join Date: Mar 2012
Location: Sydney, Australia
Device: Kindle 3G & Paperwhite
|
Now that I have everything working to my satisfaction, I have another question.
Has anyone that has username/password login enforced made any modifications to log successful user logins? I already have fail2ban monitoring bad logins. ( none so far ) As I've said before, my PHP skills are next to none. This is not a show stopper but would be nice to have. Cheers all.... |
09-30-2015, 11:42 AM | #1130 |
Junior Member
Posts: 5
Karma: 10
Join Date: Aug 2014
Device: Moon+ reader pro on android
|
Hello,
I couldn't find a solution by searching, so I ask directly... COPS on Synology NAS, DSM 5.2 update 4 Web server working flawlessly. I have an issue with OPDS catalog on Moon+ reader : when a list of books (e.g. all books from a given author) is longer than one page, I can only download a book from the first page. When I switch to the next page of the list, I can see the refreshed list of books, but without their thumbnail, and I can't download any of them. The page index (1/3, for instance) does not refresh to 2/3. On the first page of any list, everything is working perfectly. Does anyone have the same issue? Any solution ? Thanks Michel |
10-05-2015, 05:27 AM | #1131 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@Michel4632
I have just updated my ageing Synology DS110j to the latest firmware. Then tried 2 different OPDS capable apps. As I do not have Android it were iOS apps. They both had initially some difficulties reading the OPDS catalog but after some time (as the disk activity on the synology died down) I had no more problems and COPS worked as always, just fine! What version of COPS are you using? I tried with a few months old version. But I do not think anything was changed in OPDS functionality and/or code in the past year or so. |
10-08-2015, 12:39 PM | #1132 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2015
Device: Windows Tablet
|
Hello,
I want to ask something. I have Moon+ and if in Net libraries put the feed.php I'm getting the xml code. Does anyone know why? |
10-16-2015, 05:15 AM | #1133 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@fumantsu
I could not reproduce your problem. Could you give more information? [To test your problem I installed the Android emulator "BlueStacks" on Windows 7 and installed Moon+ in "BlueStacks".] |
10-17-2015, 08:42 AM | #1134 | |
She/Her
Posts: 86
Karma: 142774
Join Date: Aug 2009
Location: Perth, Australia
Device: Kindle PW5 (G001PX) PW3 PW1
|
Quote:
Thank you for all the work you've put in on this it's a great piece of software. |
|
10-23-2015, 01:03 AM | #1135 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2015
Device: Windows Tablet
|
Well I don't have too much to give. I have make the setup with external library. Simple going to net libraries and give the feed.php it is just show the xml code. If I do the same without the feed.php, it loads the php page as like in browser.
|
10-28-2015, 05:26 AM | #1136 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Interesting!
If I configure moon+ [in an emulator] with: http://<IP_of_COPS_server>/cops/feed.php or just http:??<IP_of_COPS_server>/cops both give the OPDS view and not the web-view of COPS. What server are you using (Apache/nginx/other)? How does your config_local.php file look like? What settings? |
11-03-2015, 09:13 AM | #1137 |
Member
Posts: 16
Karma: 10
Join Date: Aug 2015
Device: Samsung Galaxy Note
|
i'm trying to configer an COPS server on my Open media vault server using its Nginx plugin. but the only thing that happens when i try to open it in my browser is that it tries to download the index.php file. and if i use FB reader with "http://"my_ip": port" i get "This is not an OPDS catalouge" and with "http://"my_ip": port/opds" i get HTTP/1.1 404 Not Found". I asked in the OMV forums here but have as off yet not resived an anser
|
11-03-2015, 06:54 PM | #1138 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
For OPDS access in COPS use:
http://"my_ip": port/feed.php If this does not solve your problem then what is the output of (in a browser): http://"my-ip": port/checkconfig.php |
11-04-2015, 09:22 AM | #1139 |
Member
Posts: 16
Karma: 10
Join Date: Aug 2015
Device: Samsung Galaxy Note
|
it also tries to download both feed.php and checkconfig.php instead of executing them when using a browser. and when using the feed.php with FBReader i get a This is not a OPDS catalogue
Could it be that i'm missing a library? Last edited by drago87; 11-04-2015 at 09:34 AM. |
11-04-2015, 10:21 AM | #1140 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
It looks like openmediavault-nginx does not recognise PHP-code.
But according to the "documentation" it should (php-fpm). Strange. Do you have to enable PHP (and sqlite) somewhere in nginx or openmediavault (like on a synology)? Maybe you could try to reinstall the nginx plugin? Last edited by mariosipad; 11-04-2015 at 10:28 AM. |
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 02:53 PM |
[Old Thread] Android FBreader and Calibre OPDS server question | kalex | Calibre | 5 | 12-24-2015 10:16 PM |
PHP+Apache web server for calibre ... | chaley | Related Tools | 254 | 04-28-2014 08:18 PM |
External OPDS catalogue in Calibre | bolton | Calibre | 1 | 09-05-2012 06:14 AM |
Calibre Command Line usage with PHP | artoros | Related Tools | 13 | 07-01-2010 09:57 AM |