![]() |
#1291 | |
Member Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18
Karma: 12050
Join Date: Nov 2013
Device: none
|
Hi,
Thanks a lot for your software. I am trying to add custom columns and I have some questions: (1) I have created the ISBN column following the calibre way (I clicked on « ISBN »). Is this type of column supported or does it fall inside the "composite custom columns" category? (2) I have added custom columns this way: Quote:
What shoudl I do so that it displays the text? (3) I have tried to add "size" inside the array of the custom_column lines, but it didn't work. Am I missing something? |
|
![]() |
![]() |
![]() |
#1292 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2014
Device: Moon+ reader pro on android
|
Hello,
With new version 1.0.0 installed, I can't get my opds catalog to work anymore on my moon+ reader. I can see the structure of the database, but when I click on any link (e.g. 'recent additions' or any other), I get the following message : 'no validated OPDS content'. Previous version (RC3) renamed cops_old sitting besides the new one on my NAS still works well (after updating the opds catalog link name in moon+ reader, of course). Any idea? Any setting that I have copied wrong ? Thanks, Michel |
![]() |
![]() |
Advert | |
|
![]() |
#1293 |
Member
![]() Posts: 21
Karma: 10
Join Date: Dec 2012
Device: Kindle
|
Hello There !
I was not involved here a long time, but the release of a new version of COPS does not happen every day! I've just installed it on my Synology (no package, all manual, and webserver using appache), and so far it work very well. I just needed some time to tweak it a little, so Marvin on my iPhone could download book. Nice work @vlad59 ! I'm really glad to see that COPS is still evolving :-) |
![]() |
![]() |
![]() |
#1294 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@Michael4632
Did you try to reach COPS with: http://<IP-address-COPS>/cops/feed.php ?? I had the same error until I remembered ........ ![]() |
![]() |
![]() |
![]() |
#1295 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2014
Device: Moon+ reader pro on android
|
Quote:
For some reason, the feed.php part was not required for the previous version of COPS (RC3). It still works right beside the new one on my synology. But anyhow, it is solved ! Thanks a lot ! The only thing that doesn't work well now is the page count in the opds catalog : you can actually turn pages of long lists, but the page index stay sticked to 1 (at least with moon+ reader). With HTML clients, it works well... I should post that one in another topic, I guess. Thanks Michel |
|
![]() |
![]() |
Advert | |
|
![]() |
#1296 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#1297 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@vlad59
What a difference a "\" makes ![]() It seems to work for Marvin as well (again?). ![]() Last edited by mariosipad; 07-21-2016 at 12:48 PM. |
![]() |
![]() |
![]() |
#1298 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
|
FBReader and OPDS 1.0.0
I upgraded to 1.0.0 release version and it works fine in chrome, but FBReader and the OPDS is not working.
I can see the first level in FBReader (which in my case is a DB selection screen) but then when I select one I just get 404 errors. cops is installed in a /cops directory on my webserver. Here's the output of feed.php in chrome Code:
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:opds="http://opds-spec.org/2010/catalog" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dcterms="http://purl.org/dc/terms/"> <title>Books</title> <subtitle>Books for Nerds</subtitle> <id>cops:catalog</id> <updated>2016-07-21T12:17:10-05:00</updated> <icon>favicon.ico</icon> <author> <name>Sébastien Lucas</name> <uri>http://blog.slucas.fr</uri> <email>sebastien@slucas.fr</email> </author> <link href="feed.php" type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="start" title="Home"/> <link href="feed.php?" type="application/atom+xml;profile=opds-catalog;kind=navigation" rel="self"/> <link href="feed.php?page=8" type="application/opensearchdescription+xml" rel="search" title="Search here"/> <entry> <title>Danzo's Books</title> <updated>2016-07-21T12:17:10-05:00</updated> <id>cops:0:catalog</id> <content type="text">125 books</content> <link href="feed.php?db=0" type="application/atom+xml;profile=opds-catalog;kind=navigation"/> </entry> <entry> <title>Heidi's Books</title> <updated>2016-07-21T12:17:10-05:00</updated> <id>cops:1:catalog</id> <content type="text">13 books</content> <link href="feed.php?db=1" type="application/atom+xml;profile=opds-catalog;kind=navigation"/> </entry> </feed> Here's an error from the log Code:
192.168.1.105 debian - [19/Jul/2016:23:59:29 -0500] "GET /feed.php?db=0 HTTP/1.1" 404 345 "-" "FBReader/2.7 beta 15 (Android 5.1, falcon_cdma, XT1031)" I checked the feed.php output from my old install and it generates links like this. Code:
<link href="/cops.old/feed.php?db=0" type="application/atom+xml;profile=opds-catalog;kind=navigation"/> |
![]() |
![]() |
![]() |
#1299 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@Freakeao
Have you seen the "fix" by @vlad59 for the file index.php in the COPS directory (on a server)? https://github.com/seblucas/cops/com...14db47acd2d6b7 Just adding the "\" in the right place made a world of difference (for me). Or you could reinstall COPS from the github source: https://github.com/seblucas/cops |
![]() |
![]() |
![]() |
#1300 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
|
I did a little digging around in the code and found what changed.
in base.php there is a new function getScriptName PHP Code:
PHP Code:
|
![]() |
![]() |
![]() |
#1301 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@Freakeao
Can you see if there is a difference in the XML content before and after your modification. I also use FBReader and I can confirm that both my main OPDS library (on a subdomain) and my development library (installed on /cops like you) work perfectly fine. |
![]() |
![]() |
![]() |
#1302 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@Freakeao
A few other questions : * I noticed you're using a beta version of FBReader, did the same problem also happen with latest stable (I have 2.6.13 on my phone) * Which webserver are you using ? |
![]() |
![]() |
![]() |
#1303 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
|
@Vlad
I don't have a non beta version of FBReader installed anywhere. I'm using Lighttpd 1.4.31 as my webserver on debian. original output Code:
<link href="feed.php?page=1&db=0" type="application/atom+xml;profile=opds-catalog;kind=navigation"/> Code:
<link href="/cops/feed.php?page=1&db=0" type="application/atom+xml;profile=opds-catalog;kind=navigation"/> So I don't know if there was some kind of caching problem or what. I'll have to test again when I'm not on my home wi-fi. |
![]() |
![]() |
![]() |
#1304 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Nov 2012
Device: none
|
@Vlad
I've now tested from outside my home network on a different OPDS server entry with my external IP in FBReader. I can get to the first level, but then I get 404 errors from then on. It's very confusing. Internal works fines still. I'm switching back to my edit and will test again when I'm out of the house. |
![]() |
![]() |
![]() |
#1305 |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2016
Device: Kobo Touch
|
I've just installed OPDS on a Raspberry Pi 2. All seemed to be working well. When I tested it out on my PC + Firefox, clicking on an epub link resulted in an epub downloading to the PC, as expected. However, when I try doing the same thing from the built-in web browser on my Kobo Touch, nothing happens. No epub is downloaded. The screen refreshes, and that's about it. Any ideas where I went wrong?
The log entry in nginx's log folder looked like this: Code:
::ffff:192.168.x.x - - [08/Aug/2016:18:31:10 +0100] "GET /fetch.php?data=2930&type=epub&id=2287 HTTP/1.1" 200 357177 "-" "Mozilla/5.0 (Linux; U; Android 2.0; en-us;) AppleWebKit/538.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/538.1 (Kobo Touch)" Last edited by superturrican; 08-08-2016 at 01:34 PM. Reason: Added Logfile Information |
![]() |
![]() |
![]() |
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 |