Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 12-29-2020, 10:47 AM   #1801
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
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 ........
mariosipad is offline   Reply With Quote
Old 01-18-2021, 07:21 PM   #1802
tknx
Junior Member
tknx began at the beginning.
 
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.
tknx is offline   Reply With Quote
Advert
Old 01-19-2021, 12:54 AM   #1803
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
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
mariosipad is offline   Reply With Quote
Old 02-12-2021, 12:02 PM   #1804
minime
Junior Member
minime began at the beginning.
 
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.
minime is offline   Reply With Quote
Old 02-12-2021, 05:12 PM   #1805
Freakeao
Connoisseur
Freakeao began at the beginning.
 
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.
Freakeao is offline   Reply With Quote
Advert
Old 02-13-2021, 01:55 AM   #1806
minime
Junior Member
minime began at the beginning.
 
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.
minime is offline   Reply With Quote
Old 02-15-2021, 10:49 AM   #1807
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
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);
new
Code:
return @function ($it) use ($func) {
        eval($func);
        };
However on php 7 (don't have 8 yet) this does not work (it should?) and there is no error (in my setup), so I do not know what goes wrong (not much of a programmer myself ).

Anyone with php knowledge who can fix this for us?
mariosipad is offline   Reply With Quote
Old 02-16-2021, 10:15 AM   #1808
minime
Junior Member
minime began at the beginning.
 
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 ... ... gave up.
minime is offline   Reply With Quote
Old 02-16-2021, 01:53 PM   #1809
Freakeao
Connoisseur
Freakeao began at the beginning.
 
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.
Freakeao is offline   Reply With Quote
Old 02-16-2021, 02:57 PM   #1810
minime
Junior Member
minime began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2014
Device: Kobo AuraHD
Quote:
I'm curious what users might think.
Took a peek at it just now.
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.
minime is offline   Reply With Quote
Old 02-16-2021, 05:12 PM   #1811
Freakeao
Connoisseur
Freakeao began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
I copied a lot of the style of Calibre-web.
Freakeao is offline   Reply With Quote
Old 02-17-2021, 06:19 AM   #1812
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
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.
mariosipad is offline   Reply With Quote
Old 02-17-2021, 01:17 PM   #1813
Freakeao
Connoisseur
Freakeao began at the beginning.
 
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.
Freakeao is offline   Reply With Quote
Old 02-17-2021, 05:02 PM   #1814
Freakeao
Connoisseur
Freakeao began at the beginning.
 
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
Freakeao is offline   Reply With Quote
Old 02-18-2021, 10:02 AM   #1815
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
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?

mariosipad is offline   Reply With Quote
Reply

Tags
calibre opds, dns, kobo aura, synology


Forum Jump

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


All times are GMT -4. The time now is 01:54 PM.


MobileRead.com is a privately owned, operated and funded community.