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 07-24-2023, 10:13 AM   #1906
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: 723
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@Horus68

I'm not a big fan of redesigning the default front-end web interface of COPS. Improving? I'm all for that, but I think that the default front-end interface should be as simple and light on resources as possible. The default interface works with my very old Kobo Glo HD. Any more eye candy is a definite NO.

If we want more eye candy, take a look at calibre-web, or improve on the work of @SenorSmartyPants.
mariosipad is offline   Reply With Quote
Old 07-24-2023, 01:36 PM   #1907
Grishka
Member
Grishka began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by Horus68 View Post
Call to action to create a new template for COPS. Bring in your skills:
«if anyone has a slight interest or knowledge in designing a new front-end web interface for COPS, that would be most welcome.»
See this Github:
https://github.com/mikespub-org/sebl.../discussions/9

Note: for questions keep on with this actual mobileread forum topic!
Hey !

I've just updated my COPS with your fork, then switched to PHP 8 (Synology NAS), and it's working like a charm! I even took the time to modify the eink theme I'd originally created for COPS to modernize the display a bit.

Great job!
Grishka is offline   Reply With Quote
Advert
Old 07-25-2023, 12:58 PM   #1908
Horus68
Zealot
Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.
 
Horus68's Avatar
 
Posts: 143
Karma: 76596
Join Date: Feb 2015
Location: Portugal
Device: Kobo Aura HD
Quote:
Originally Posted by Grishka View Post
Hey !
I even took the time to modify the eink theme I'd originally created for COPS to modernize the display a bit.
Please send your code to Mike's fork (its not me!)
https://github.com/mikespub-org/seblucas-cops
Horus68 is offline   Reply With Quote
Old 07-25-2023, 01:05 PM   #1909
Horus68
Zealot
Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.
 
Horus68's Avatar
 
Posts: 143
Karma: 76596
Join Date: Feb 2015
Location: Portugal
Device: Kobo Aura HD
Quote:
Originally Posted by mariosipad View Post
@Horus68

I'm not a big fan of redesigning the default front-end web interface of COPS. Improving? I'm all for that, but I think that the default front-end interface should be as simple and light on resources as possible. The default interface works with my very old Kobo Glo HD. Any more eye candy is a definite NO.

If we want more eye candy, take a look at calibre-web, or improve on the work of @SenorSmartyPants.
Agree eink devices needs to work!

As stated by Mike the SenorSmartyPants template its already included in the fork.
Same goes for the COPS 4 kindle template available from another github user. See https://github.com/mikespub-org/sebl...omment-6528832
Horus68 is offline   Reply With Quote
Old 03-03-2024, 04:03 PM   #1910
electronicfur
Connoisseur
electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 54
Karma: 30682
Join Date: Aug 2011
Device: Samsung Note FBReader, Nook Simple Touch FBReader, (Kindle3 died)
It would be useful to include this fix in the fork on the main COPS branch.

https://github.com/seblucas/cops/pul...e475dcea3a6f3f

This fixes the invalid OPDS which causes PocketReader on Android to fail to read the feed properly.

I've manually added the patch, but others running PocketBook on Android may also run into this error, so worth fixing on the main branch.
electronicfur is offline   Reply With Quote
Advert
Old 03-04-2024, 05:57 AM   #1911
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: 723
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@electronicfur

No longer use the original COPS GitHub. It's no longer actively developed. The recent commit seems a bit of a fluke and does not change/improve the code.

From now on use this fork instead https://github.com/mikespub-org/seblucas-cops.
mariosipad is offline   Reply With Quote
Old 03-04-2024, 07:39 AM   #1912
electronicfur
Connoisseur
electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.electronicfur can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 54
Karma: 30682
Join Date: Aug 2011
Device: Samsung Note FBReader, Nook Simple Touch FBReader, (Kindle3 died)
Thanks, I thought it was just changes for PHP8, didn't realise the fork was being developed. I'll take a look at the 1.x branch as I'm still on PHP 7.4. It's why havent looked at the fork until now.
electronicfur is offline   Reply With Quote
Old 10-16-2024, 06:31 PM   #1913
Horus68
Zealot
Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.
 
Horus68's Avatar
 
Posts: 143
Karma: 76596
Join Date: Feb 2015
Location: Portugal
Device: Kobo Aura HD
Please help translating COPS to your language here
https://gitlocalize.com/repo/9640
(it's an easy tool, you just need your browser!)


Also take a look into the new COPS with several new features here: https://github.com/mikespub-org/seblucas-cops
Horus68 is offline   Reply With Quote
Old 10-22-2024, 08:45 AM   #1914
hugoheitz
Enthusiast
hugoheitz began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Apr 2014
Location: Brest, France
Device: kobo touch, kindle paperwhite, Asus TF101
Hi,

I am trying to install the new fork of cops.
I used for years now the seblucas one.

I understabd it is no longer supported.

I would like to use the mikespub version, download the files, put it in a cops/ directory and configure it.

I did an upgrade on my nas (ds418play) to bé able to install locally calibre with docker image.
It created a local folder called "bibliotheque calibre"
Is it possible to use this in config file or not?

How to do the config modifications ?

The wiki IS not really helpful. I would like a step by step.

Thanks for your help !
hugoheitz is offline   Reply With Quote
Old 10-22-2024, 01:56 PM   #1915
Horus68
Zealot
Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.Horus68 understands the mechanisms of the catecholamine pathways.
 
Horus68's Avatar
 
Posts: 143
Karma: 76596
Join Date: Feb 2015
Location: Portugal
Device: Kobo Aura HD
COPS should use a copy of the Calibre library you want to access using COPS.
Calibre has its own server.
Cops is just used when you don't use the Calibre server, as a light calibre server
Horus68 is offline   Reply With Quote
Old 10-27-2024, 11:40 AM   #1916
hugoheitz
Enthusiast
hugoheitz began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Apr 2014
Location: Brest, France
Device: kobo touch, kindle paperwhite, Asus TF101
HOWTO ? Really need to use COPS to be able to access Calibre library from my readers

Quote:
Originally Posted by Horus68 View Post
COPS should use a copy of the Calibre library you want to access using COPS.
Calibre has its own server.
Cops is just used when you don't use the Calibre server, as a light calibre server
Okay,so I have installed Calibre on my NAS as a docker container.
I had to upgrade to DSM 7.2
I followed this tutorial:
https://mariushosting.com/how-to-ins...-synology-nas/

It works fine.

But

I also need to access my calibre library from my readers and for that I need to use COPS.

The upgrade to DSM 7.2 has modified the webstation installation.

I needed to reconfigure it to use Apache 2.4 and PHP 8.2.
It is now OK.

So I downloaded the last version of COPS compatible with PHP 8.2 and tried to configure it.
My files are located in : web/cops/

I modified the file located in
config/local.php

I believe it's ok but when I try to access it from my browser it doesnt shown anything.

Is there something that I am missing ?
configuration of the openbasedir for PHP ?

How can I test ?

Thank you so much for your help !
hugoheitz is offline   Reply With Quote
Old 10-27-2024, 07:13 PM   #1917
jillmess
Enthusiast
jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.
 
jillmess's Avatar
 
Posts: 49
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
Quote:
Originally Posted by hugoheitz View Post

I modified the file located in
config/local.php

I believe it's ok but when I try to access it from my browser it doesnt shown anything.
Do you just get a blank page?
Are you using a renamed config_local.php from an earlier version?

I got a blank page when I installed the latest 3.3.1 recently on my QNAP. Even checkconfig.php returned a blank page. I 'think' what fixed mine was creating config/local.php from scratch using the example file as a base rather than copying and renaming my old file.

My old config file had been used and updated since my install of the original seblucas COPS. An upgrade to 2.8.1 (from 2.7) worked fine with the old file but something in it (or not in it?) seemed to cause problems with version 3+.

Last edited by jillmess; 10-27-2024 at 08:00 PM.
jillmess is offline   Reply With Quote
Old 10-28-2024, 07:59 AM   #1918
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: 723
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@jillmess @hugoheitz

copy ./cops/config/default.php to ./cops/config/local.php

then edit ./cops/config/local.php

If that does not work, report back.
We will get it to work.
mariosipad is offline   Reply With Quote
Old 10-28-2024, 06:27 PM   #1919
jillmess
Enthusiast
jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.jillmess ought to be getting tired of karma fortunes by now.
 
jillmess's Avatar
 
Posts: 49
Karma: 500000
Join Date: Dec 2011
Device: Kobo Libra 2
Quote:
Originally Posted by mariosipad View Post
@jillmess @hugoheitz

copy ./cops/config/default.php to ./cops/config/local.php

then edit ./cops/config/local.php
I copied /config/local.php.example to /config/local.php and then added back my customisations and all works ok.

BUT the readme info for updating from 2.* to 3.* says:
" move your customized *config_local.php* file to *config/local.php* on the web server/container "
which for me resulted in a blank page (and lots of head scratching )

Mostly ok now, but I have reported an error I get with the 'recent additions' option left at the default.

Last edited by jillmess; 10-28-2024 at 06:33 PM.
jillmess is offline   Reply With Quote
Old 10-29-2024, 07:51 AM   #1920
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: 723
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@jillmess

I found that this part oft the config_local.php now local.php had changed.

Code:
/*
 * Full URL prefix (with trailing /)
 * useful where a full URL is required, COPS is behind a proxy or the script name shows the wrong place
 * Older e-readers like Mantano, Aldiko and Marvin may require it for Opensearch too.
 * e.g.
 * $config['cops_full_url'] = '/cops/';
 * $config['cops_full_url'] = 'http://localhost/cops/';
 * $config['cops_full_url'] = 'http://192.168.1.xxx/cops/';
 * $config['cops_full_url'] = 'https://www.domainname.com/cops/';
 */
Maybe other things too after the readme for updating was made.
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 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


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


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