![]() |
#1801 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Glad for you it works now.
However I have a blank line after the closing ?> in my config_local.php and no problem with php5, php 7.3 and php7.4. So it might be the problem, but ........ |
![]() |
![]() |
![]() |
#1802 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Apr 2017
Device: Kindle Paperwhite
|
Quick question - does COPS support OPDS auto-discovery? I can't get Marvin on my phone to auto-discover the server although it does just fine with a manual IP entry.
|
![]() |
![]() |
Advert | |
|
![]() |
#1803 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
No, not as far as I know.
I use: http://<IP>/cops/feed.php or <IP>/cops/feed.php |
![]() |
![]() |
![]() |
#1804 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Nov 2014
Device: Kobo AuraHD
|
Does anybody know if there is a new version of cops in the pipeline?
Mainly because of cops I am holding back the php8 update on my server. I really like cops. It's simple, doesn't need a lot of dependencies and it fits my needs just perfectly. But if there is no plan on making it compatible to php8 within the near future, I am afraid, I will be forced to switch to another solution. Maybe the native content server, or calibre-web. I would gladly fix cops myself, but I am an idiot, who never learned how to code. ![]() If any of you have any info about the ongoing situation around cops, I would really appreciate it. ![]() |
![]() |
![]() |
![]() |
#1805 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
|
There's been no movement on the couple of pull requests I submitted a while back.
I'll probably update my repo to have all my changes in the main branch. But I have no plans on a php8 update. Maybe look into deploying docker containers on your server. I made the switch a couple years ago and am loving not worrying about dependencies. |
![]() |
![]() |
Advert | |
|
![]() |
#1806 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Nov 2014
Device: Kobo AuraHD
|
Thanks for the info @Freakeao!
I was always to lazy to check out how docker works exactly. Will look into it now. ![]() |
![]() |
![]() |
![]() |
#1807 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@minime
1 - go with docker! COPS works and keeps working. 2 - fix the errors that hold back php 8 ourselves. The (1st?) error is a deprecated function in php 8 "create_function" on line 94 of doT.php. The fix should be something like this: old: Code:
return @create_function ('$it', $func); Code:
return @function ($it) use ($func) { eval($func); }; ![]() Anyone with php knowledge who can fix this for us? ![]() |
![]() |
![]() |
![]() |
#1808 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Nov 2014
Device: Kobo AuraHD
|
@Freakeao and @mariosipad
I just finished the transition to docker. But I have to admit that I am not using COPS anymore. ![]() As I had to start from scratch anyways I figured, let me check out docker, cops, calibre-content-server and calibre-web. Finally I ended up with: docker linuxserver/calibre-web It does everything I need it to do and I like the, imho, more modern look and feel of it. Docker and docker compose were actually quiet easy to grasp, but letsencrypt's certbot in combination with apache reverse proxy gave me a headache for a while. Now it works as intended. Also, I had nvchecker in use already for other projects. Turns out it works for docker updates also. Awesome! ![]() So far, I am really happy with everything. Thanks a bunch guys for recommending docker to me!! PS: @mariosipad - wish I could help you out there, but I have zero php knowledge. Before I decided to give docker a go, I looked at the php code and ... ![]() ![]() |
![]() |
![]() |
![]() |
#1809 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
|
@minime
Did you have a chance to take a peek at my updated COPS skin? I'm curious what users might think. https://www.mobileread.com/forums/sh...98#post4061598 I need to update my github and maybe put together a docker setup for it. |
![]() |
![]() |
![]() |
#1810 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Nov 2014
Device: Kobo AuraHD
|
Quote:
I am not a web designer, nor am I a person with a great sense for style, but in my opinion it looks a lot better than the original bootstrap theme. Can't really tell why, but your theme looks modern to me, while the original theme looks 2010ish. ![]() If I had to choose between the original theme and yours, I'd definitely pick yours. ![]() |
|
![]() |
![]() |
![]() |
#1811 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
|
I copied a lot of the style of Calibre-web.
|
![]() |
![]() |
![]() |
#1812 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@Freakeao
Your updated COPS skin looks nice! I agree with @minime that it looks more modern. Very useful for presentation of your book collection to others. However I remain a big fan of the default COPS template. Simple, utilitarian, "it just works". I think calibre-web looks good as well, however it is overkill for what I use it for. Also (as far as I know) there is no support for multiple calibre libraries, a dealbreaker for me. As a sidenote: I could not get it working in a Docker container on my Raspberry Pi 4. Not the fault of calibre-web, but a Docker incompatibility. Last edited by mariosipad; 02-17-2021 at 06:24 AM. |
![]() |
![]() |
![]() |
#1813 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
|
I made sure the updates I created allowed users to switch between all the skins. Choice is a good thing. Original COPS could only switch between the 2 bundled skins.
I really need to update my main branch to have everything included. |
![]() |
![]() |
![]() |
#1814 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
|
I merged all my branches in the default of my fork. I also updated the config defaults so COPS uses my new template as the default.
Here's the download link https://github.com/SenorSmartyPants/...ive/master.zip And here's the main github https://github.com/SenorSmartyPants/cops My repo also contains $config['cops_ignored_formats'] functionality. Check out the config_local for an example. You can use this and still use the default template if you like. Last edited by Freakeao; 02-17-2021 at 05:03 PM. Reason: Adding ignored_formats note |
![]() |
![]() |
![]() |
#1815 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@Freakeao
I've take a better look at your template. It still looks good, even better than yesterday! Can you give a (very) short explanation about what your new changes/additions do? ![]() |
![]() |
![]() |
![]() |
Tags |
calibre opds, dns, kobo aura, synology |
|
![]() |
||||
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 |