Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-25-2019, 10:06 AM   #1726
mariosipad
Evangelist
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: 454
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@Chilipops

If I "left" click on the "EPUB download button" it downloads the file, ready to be opened with an epub reader. So it works (for me).

Firefox 67.0.4 64 bit windows 10.

However if I "left" click on the "open file button" I download fetch.php. And that's not what I want.

With Microsoft Edge I cannot even open any cops site (no https?) Needed to go through WAN to reach my LAN (that has Let's Encrypt)-> Idiots!
mariosipad is online now   Reply With Quote
Old 07-07-2019, 04:35 PM   #1727
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 10,627
Karma: 61040749
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I just installed R2 Reader on my Android tablet. While it can access my COPS install and see the various categories it offers, when I view a book it does not offer the Download option (which does appear if I view any of the default OPDS feeds).

Suggestions?

Sent from my moto g(7) power using Tapatalk
PeterT is offline   Reply With Quote
Old 07-08-2019, 05:31 AM   #1728
mariosipad
Evangelist
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: 454
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@PeterT

Thank you for making me aware of R2 Reader (for iOS )!

Using it I can confirm your problem.

If the calibre library is outside of the COPS path (for me: /var/www/html/cops/ ) R2 Reader does not show the download button.

Adding $config['cops_use_url_rewriting'] = '1'; to config.local.php fixed the problem for me.

Let us know if this will fix your problem as well.
mariosipad is online now   Reply With Quote
Old 07-08-2019, 07:27 AM   #1729
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 10,627
Karma: 61040749
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Will try that tonight!

Sent from my moto g(7) power using Tapatalk
PeterT is offline   Reply With Quote
Old 07-10-2019, 12:15 PM   #1730
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 10,627
Karma: 61040749
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Quote:
Originally Posted by PeterT View Post
Will try that tonight!

Sent from my moto g(7) power using Tapatalk
Limited success. I got the download button showing up but the download fails. Looking at the supplied nginx setup I think I need to tweak the rewrite rules. When I feel up to it I will experiment

Sent from my moto g(7) power using Tapatalk
PeterT is offline   Reply With Quote
Old 07-10-2019, 07:02 PM   #1731
mariosipad
Evangelist
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: 454
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@PeterT

I use Apache not NGINX so I have no clue how to fix the rewrite rules (in Apache in var/www/html/cops/.htaccess).

But .... you do not need $config['cops_use_url_rewriting'] = '1'; if you put your calibre library just below the root of cops (in: /var/www/html/cops/calibre-library ) like this in config_local.php:
$config['calibre_directory'] = './calibre-library/';

A full path won't work.

This either real (put the file in the library in that directory) or through a symlink.

Ok, this is not the recommended way to do it, but if you do not expose cops to the WAN it should pose no real security risk.

Hope this helps until you can tweak the rewrite rules.

Last edited by mariosipad; 07-10-2019 at 07:06 PM.
mariosipad is online now   Reply With Quote
Old 07-10-2019, 08:47 PM   #1732
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 10,627
Karma: 61040749
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Unfortunately I'm using a docker image on a QNAP and an not a docker expert

To avoid complications I have the calibre library not on the same file system as COPS so yes... I do need the rewrite.

Sent from my moto g(7) power using Tapatalk
PeterT is offline   Reply With Quote
Old 07-11-2019, 10:27 AM   #1733
mariosipad
Evangelist
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: 454
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
Maybe you've found it, but if not, take a look at this link:

https://github.com/seblucas/cops/wik...ting-with-COPS
mariosipad is online now   Reply With Quote
Old 08-16-2019, 02:43 PM   #1734
micster
Enthusiast
micster began at the beginning.
 
Posts: 39
Karma: 10
Join Date: May 2012
Device: none
URL Rewriting

Is it possible to rewrite the permalink URLs?

For example in the demo library we have Alice's Adventures in Wonderland by Lewis Carroll. The URL for the details page on this book looks like:
http://cops-demo.slucas.fr/index.php?page=13&id=17&db=0

Can we make it look like this instead:
http://cops-demo.slucas.fr/books/Lewis_Carroll/Alices_Adventures_in_Wonderland.php
micster is offline   Reply With Quote
Old 08-16-2019, 05:14 PM   #1735
mariosipad
Evangelist
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: 454
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
Can you explain why you want to do that?
mariosipad is online now   Reply With Quote
Old 08-16-2019, 06:06 PM   #1736
micster
Enthusiast
micster began at the beginning.
 
Posts: 39
Karma: 10
Join Date: May 2012
Device: none
Just so the library looks nicer when I am browsing my collection. Thought it might be a feature that is already there that I didn't know about.

Tried playing around with mod_rewrite but it looks like it is going to take more custom coding changes.
micster is offline   Reply With Quote
Old Yesterday, 07:13 AM   #1737
laxarus
Junior Member
laxarus began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2012
Device: PC
I've been using the synocommunity package of COPS on my synology. Now, I am trying to update this as the last version of synocommunity is 1.0.1. How can I update this? Is there a guide somewhere?
laxarus is offline   Reply With Quote
Old Today, 05:35 AM   #1738
mariosipad
Evangelist
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: 454
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
Do you want to or need to update?

If you do not need to update because of a problem or missing feature, don't. Just enjoy cops as is.

If you need to update or just really want to you have two options:
1 - use a docker container on synology. (I never tried it. My synology is to old.) https://github.com/seblucas/cops/releases

2 - copy a released version of cops into your ./web/cops directory of your synology and copy your old config_local.php file into it. Maybe some fiddling with the settings and it will work (did for me).
https://github.com/seblucas/cops/releases
mariosipad is online now   Reply With Quote
Reply

Tags
calibre opds, dns, kobo aura, synology

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[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 OPDS server with windows apps? nickdma Related Tools 9 02-02-2011 03:09 PM
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 05:42 AM.


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