View Single Post
Old 07-21-2016, 01:22 PM   #1298
Freakeao
Connoisseur
Freakeao began at the beginning.
 
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"/>
Freakeao is offline   Reply With Quote