11-17-2017, 02:46 AM | #1606 |
Member
Posts: 18
Karma: 10
Join Date: Nov 2017
Device: iphone, ipad, android phone, android tablet, pc, kindle
|
Hi Everyone,
What a awesome forum for people who love ebooks!!!! I am loving everything here!! I also have a problem: I have installed COPS and am super happy. On the index page there are categories Authors Series Publishers Tags Ratings Languages All Books Recent Additions I am trying to add my own Category with all books that match a certain tag. So that mine will show in the main index page. Example: Authors Series Publishers Tags Test Ratings Languages Any idea how I must do this? I have tried the 'custom columns' like this but it does not work: $config['cops_calibre_custom_column'] = array ("test", "test"); $config['cops_calibre_custom_column_list'] = array ("test", "test"); This is really frustrating. Can anyone please pretty please help?? |
11-20-2017, 09:19 AM | #1607 |
Guru
Posts: 716
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@PetrusV
How did you define the custom column in Calibre? And you are aware that ‘column built from other columns’ (called composite columns)* do not work in COPS? * Source "composite column: https://manual.calibre-ebook.com/template_lang.html More "simple" custom columns do work in cops. $config['cops_calibre_custom_column'] = array ("test"); $config['cops_calibre_custom_column_list'] = array ("test"); Don't forget to reload cops (F5?) in your browser. (and test in calibre first) |
Advert | |
|
11-22-2017, 06:30 AM | #1608 |
Member
Posts: 18
Karma: 10
Join Date: Nov 2017
Device: iphone, ipad, android phone, android tablet, pc, kindle
|
In answer to your question
How did you define the custom column in Calibre? I actually tried to call a tag as column RE Composite column So, if I want a custom column I have to first add it to Calibre, I cannot simply try to call a 'tag' that is already defined in Calibre? Last edited by PetrusV; 11-22-2017 at 06:38 AM. |
11-24-2017, 09:59 AM | #1609 | |
Guru
Posts: 716
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Quote:
If it's NOT a composite custom column (i.e. a ‘column built from other columns’) it will work in COPS. Source: https://github.com/seblucas/cops/pull/269 |
|
12-01-2017, 12:50 AM | #1610 |
Member
Posts: 18
Karma: 10
Join Date: Nov 2017
Device: iphone, ipad, android phone, android tablet, pc, kindle
|
The following worked flawlessly after I added the column 'test' in calibre. Also note its case sensitive. It will not work if you add 'Test' column in calibre and then use 'test' on the config:
$config['cops_calibre_custom_column'] = array ("test"); If you have more than one custom column then add them like this: $config['cops_calibre_custom_column'] = array ("test1", "test2", "test3"); Last edited by PetrusV; 12-04-2017 at 02:25 AM. |
Advert | |
|
01-30-2018, 03:37 PM | #1611 | |
Connoisseur
Posts: 99
Karma: 280
Join Date: Nov 2010
Device: iPhone6, iPadMiniRetina, KindlePW3, KoboGloHD
|
Quote:
|
|
01-31-2018, 02:07 AM | #1612 |
Member
Posts: 18
Karma: 11216
Join Date: Sep 2013
Device: Kindle and iPad Mini 4
|
Good news for those using a Western Digital NAS. Tfl has developed a COPS application package that can be installed manually! It's working great with my PR2100. Thanks again Tfl!
Available here (with instructions): Install COPS on WD NAS |
02-13-2018, 10:19 PM | #1613 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Jul 2010
Device: PC
|
COPS config problem on Windows Server 2016/ IIS
Had it working, then rebuilt my Windows 2016 server. Latest builds of PHP suck - missing stuff.
I added lines in php.ini to enable SQLite, didn't help. Not sure how to fix it. COPS Configuration Check Check if PHP version is correct OK (7.2.2) Check if GD is properly installed and loaded OK Check if Sqlite is properly installed and loaded Please install the php5-sqlite extension and make sure it's enabled Check if libxml is properly installed and loaded OK Check if Json is properly installed and loaded OK Check if mbstring is properly installed and loaded OK Check if intl is properly installed and loaded Please install the php5-intl extension and make sure it's enabled Check if Normalizer class is properly installed and loaded Please make sure intl is enabled in your php.ini Check if the rendering will be done on client side or server side Client side rendering Check if Calibre database path is not an URL OK Check if Calibre database file exists and is readable OK Check if Calibre database file can be opened with PHP If the file is readable, check your php configuration. Exception detail : PDOException: could not find driver in C:\Program Files\Windows Server\Bin\WebApps\Site\COPS\checkconfig.php:203 Stack trace: #0 C:\Program Files\Windows Server\Bin\WebApps\Site\COPS\checkconfig.php(203): PDO->__construct('sqlite:/Serve...') #1 {main} Check if Calibre database file contains at least some of the needed tables If the file is readable, check your php configuration. Exception detail : PDOException: could not find driver in C:\Program Files\Windows Server\Bin\WebApps\Site\COPS\checkconfig.php:216 Stack trace: #0 C:\Program Files\Windows Server\Bin\WebApps\Site\COPS\checkconfig.php(216): PDO->__construct('sqlite:/Serve...') #1 {main} |
02-13-2018, 10:26 PM | #1614 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Jul 2010
Device: PC
|
new syntax in php.ini
extension=pdo_sqlite fixed it. At least feed.php works. index.php shows a blank page |
02-14-2018, 09:46 AM | #1615 |
Guru
Posts: 716
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
If checkconfig.php has no errors and you still have a blank screen then there is probably a (very small) error in config_local.php. Usually a forgotten ";" or a misplaced ",", etc.
Reducing config_local.php to the bare minimum sometimes helps. Then add all those lines you find necessary line by line. If the error is in config_local.php you will find where the error is eventually. Or post your config_local.php here. |
02-15-2018, 04:06 AM | #1616 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2018
Device: Kindle Paperwhite
|
Conversion tool?
Hi to all.
I'm using COPS from some months, firstly on a local server, recently I migrated it to my router (from my experience I wrote this). From Christmas I also have a Kindle Paperwhite, but my library (~2000 ebook) has a lot of ePUB so I need to convert them using Calibre, witch is a bit annoying because it means I have to use a PC. I'm thinking about integrate a conversion tool in COPS. Before reinvent the hot water, anyone already made something similar? I saw on internet there many PHP script and classes that accept AZW3,AZW or MOBI as output format so I think is possible with little coding add this feature. Maybe seblucas or someone else is already working on something like this? I don't want use Amazon service, I have to test a little bit about performance, but preferably I would use my local resources and avoid cloud/external. Have a nice day. |
02-15-2018, 09:46 AM | #1617 | |
Guru
Posts: 716
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@brambil
I think that Calibre is the way to go here. On https://github.com/seblucas/cops @seblucas states: Quote:
But maybe someone will fork cops and add this capability. Until that time I will use Calibre for this. |
|
02-15-2018, 11:06 AM | #1618 | |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
|
|
02-16-2018, 12:38 PM | #1619 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2018
Device: Kindle Paperwhite
|
Thanks.
|
03-07-2018, 01:37 AM | #1620 |
Junior Member
Posts: 1
Karma: 10
Join Date: Mar 2018
Device: none
|
ome book have an epub button that, however, always point to a "download" directory
that is not present. Is it there for future extension or did I misconfigured something? |
Tags |
calibre opds, dns, kobo aura, synology |
Thread Tools | Search this Thread |
|
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 |