View Single Post
Old 07-19-2018, 06:57 PM   #1
rmzg
Member
rmzg began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Sep 2016
Device: Note5
Calibre Web opds access failing as content server

Hey,

I recently found a program that acts as very nice and fully featured web browser for a calbre library called 'Calibre Web': https://github.com/janeczku/calibre-web

It installed and started working pretty easily but when I attempt to configure its url as a content server inside calibre companion, it refuses to past the "index" page.

CC will connect to the url fine and show me the first page with a list of categories, but when I click on the categories themselves, nothing happens. The search action will actually find books that match but again I can't actually open the links it returns.

I've verified that the links do work in a web browser both on my phone client and a laptop, so I assume there's something slightly off in the format it's returning the opds data in?

Here's an example of the index page it returns:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>urn:uuid:2853dacf-ed79-42f5-8e8a-a7bb3d1ae6a2</id>
  <link rel="self" href="/opds" type="application/atom+xml;profile=opds-catalog;kind=navigation"/>
  <link rel="start" title="Start" href="/opds"
        type="application/atom+xml;profile=opds-catalog;kind=navigation"/>
  <link title="Search" type="application/atom+xml" href="/opds/search?query={searchTerms}" rel="search"/>
  <title>Calibre-web</title>
  <author>
    <name>Calibre-web</name>
    <uri>https://github.com/janeczku/calibre-web</uri>
  </author>
  <entry>
    <title>Hot Books</title>
    <link rel="http://opds-spec.org/sort/popular" href="/opds/hot" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/hot</id>
    <content type="text">Popular publications from this catalog based on Downloads.</content>
  </entry>
  <entry>
    <title>Best rated Books</title>
    <link rel="http://opds-spec.org/recommended" href="/opds/rated" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/rated</id>
    <content type="text">Popular publications from this catalog based on Rating.</content>
  </entry>
  <entry>
    <title>New Books</title>
    <link rel="http://opds-spec.org/sort/new" href="/opds/new" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/new</id>
    <content type="text">The latest Books</content>
  </entry>
  <entry>
    <title>Random Books</title>
    <link rel="http://opds-spec.org/featured" href="/opds/discover" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/discover</id>
    <content type="text">Show Random Books</content>
  </entry>

  <entry>
    <title>Read Books</title>
    <link rel="subsection" href="/opds/readbooks/" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/readbooks/</id>
    <content type="text">Read Books</content>
  </entry>

  <entry>
    <title>Unread Books</title>
    <link rel="subsection" href="/opds/unreadbooks/" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/unreadbooks/</id>
    <content type="text">Unread Books</content>
  </entry>
  <entry>
    <title>Authors</title>
    <link rel="subsection" href="/opds/author" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/author</id>
    <content type="text">Books ordered by Author</content>
   </entry>
   <entry>
    <title>Category list</title>
    <link rel="subsection" href="/opds/category" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/category</id>
    <content type="text">Books ordered by category</content>
   </entry>
   <entry>
    <title>Series list</title>
    <link rel="subsection" href="/opds/series" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/series</id>
    <content type="text">Books ordered by series</content>
   </entry>
   <entry>
    <title>Public Shelves</title>
    <link rel="subsection" href="/opds/shelfindex/public" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/shelfindex/public</id>
    <content type="text">Books organized in public shelfs, visible to everyone</content>
   </entry>
   
   <entry>
    <title>Your Shelves</title>
    <link rel="subsection" href="/opds/shelfindex/" type="application/atom+xml;profile=opds-catalog"/>
    <id>/opds/shelfindex/</id>
    <content type="text">User's own shelfs, only visible to the current user himself</content>
   </entry>
   
</feed>
rmzg is offline   Reply With Quote