Handling OPDS catalogs

An RSS/Atom newsreader with features comparable to commercial newsreaders.
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Handling OPDS catalogs

Post by flowney »

OPDS (Open Publication Distribution System) is an Atom-base scheme to present catalogs that enable the aggregation, distribution and discovery of eBooks (see: http://opds-spec.org/about/). Vienna does a nice job of displaying and navigating through an OPDS catalog (example: http://grumpy.gcsu.edu:8080/opds). The eBooks are listed as articles.
Unfortunately, that's as far as it goes. I can find no way to cause Vienna to hand off the eBook "article" to an app that can actually render it, say, iBooks on MacOS X. In my example, all eBooks have either an *.epub or *.ibooks suffix but an OPDS catalog could also contain *.pdf, *.mobi and other suffixes.
So, is it possible in Vienna to have an "article" (ne eBook) read in an external application determined by the suffix? That is, read an OPDS catalog with Vienna, select an eBook that has an *.epub suffix and then cause that file to be opened by the iBooks.app.
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Handling OPDS catalogs

Post by barijaona »

I see the problem : the links that Vienna get are links to catalogs, or link to the catalog itself, instead of one of the previews.

Here is an example of an entry that I get from a catalog :

Code: Select all

  <entry>
    <title>Star Trek "Answer Me" Trailer</title>
    <author>
      <name>Spock</name>
    </author>
    <id>urn:uuid:cd2b720a-4750-4eaf-beb6-425d1f119a15</id>
    <updated>2014-04-26T20:41:05+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">TAGS: Sci-Fi & Fantasy<br/></div>
    </content>
    <link href="/get/epub/407" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
    <link href="/get/cover/407" type="image/jpeg" rel="http://opds-spec.org/cover"/>
    <link href="/get/thumb/407" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
  </entry>
I cannot spot what would be the correct link for the real item, though… I tried various things, and I got a 404 error…
Can you check if the Calibre and CherryPi gateway configurations are correct ? At first, it would be probably easier to test from within the internal network…
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Re: Handling OPDS catalogs

Post by flowney »

This example olds catalog functions correctly with the two apps I tried, FBReader on MacOS X and eBook Search on iOS.

There are two other modes for accessing the same catalog and all three function similarly.

web view: http://grumpy.gcsu.edu:8080

mobile view: http://grumpy.gcsu.edu:8080/mobile

The "Get" button links to a URI such as:

http://grumpy.gcsu.edu:8080/get/epub/In ... y_433.epub

This is what we'd want to hand off to another app such as the iBooks.app
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Handling OPDS catalogs

Post by barijaona »

OK, a solution would be to consider this kind of link as an enclosure link.
This can be done easily.
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Re: Handling OPDS catalogs

Post by flowney »

barijaona wrote:OK, a solution would be to consider this kind of link as an enclosure link.
This can be done easily.
That sounds encouraging and may offer an approach for other apps that have difficulty with Calibre server's OPDS option.
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Re: Handling OPDS catalogs (Calibre)

Post by flowney »

We discovered that the OPDS option in Calibre's content server was not configures for *.ibooks files so filed a bug report that has since been acted upon:

Calibre has just been updated to version 1.3.6 and the changelog confirms that:
• Content server: Make .ibook format files available in OPDS feeds
However, I also see that there are some validation issues (http://opds-validator.appspot.com/?uri= ... :8080/opds) unrelated to the *.ibooks issue. See: http://opds-validator.appspot.com/?uri= ... :8080/opds

I hope that this provides you with a usable test bench.

So, feel free to use my Calibre OPDS feed at http://grumpy.gcsu.edu:8080/opds as a benchmark. The one and only *.ibooks file in that feed is named "External Video Demo" and also happens to be the newest eBook in that library.
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Handling OPDS catalogs (Calibre)

Post by barijaona »

flowney wrote: So, feel free to use my Calibre OPDS feed at http://grumpy.gcsu.edu:8080/opds as a benchmark. The one and only *.ibooks file in that feed is named "External Video Demo" and also happens to be the newest eBook in that library.
I did not find a link to the ibooks. Here is the entry for the above mentioned book :

Code: Select all

<entry>
    <title>External Video Demo</title>
    <author>
      <name>Frank Lowney</name>
    </author>
    <id>urn:uuid:9fed4d3a-45b4-4f46-874c-bda57a052430</id>
    <updated>2014-05-10T13:11:48+00:00</updated>
    <link href="/get/cover/436" type="image/jpeg" rel="http://opds-spec.org/cover"/>
    <link href="/get/thumb/436" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
  </entry>
Compare that to another entry :

Code: Select all

  <entry>
    <title>Lonely Planet's Best In Travel 2011</title>
    <author>
      <name>Lonely Planet</name>
    </author>
    <id>urn:uuid:c044ded7-5cc8-4c83-9677-865599b81d1c</id>
    <updated>2014-05-10T13:11:48+00:00</updated>
    <link href="/get/epub/434" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
    <link href="/get/cover/434" type="image/jpeg" rel="http://opds-spec.org/cover"/>
    <link href="/get/thumb/434" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
  </entry>

If you are in touch with Calibre developers, you may also suggest improvements to titles of feeds. At the feed level, all feeds are currently named « calibre Library ». More expressive names would be very useful : ex : « By Authors », « By Newest », « Author name »…
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Re: Handling OPDS catalogs

Post by flowney »

OK, I will submit a bug report but please help me get clear about the issue at hand. The problem is that the *.ibooks file entry doesn't have a line like this:

<link href="/get/epub/434" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>

So, how would an *.ibooks version of this look like?

<link href="/get/ibooks/434" type="application/x-ibooks+zip" rel="http://opds-spec.org/acquisition"/>
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Handling OPDS catalogs

Post by barijaona »

The href value could be anything that makes Calibre developers comfortable with. "/get/epub/434" could be acceptable, as ibooks are in fact a variation of epubs.

Your suggestion for the type value seems OK to me.
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Re: Handling OPDS catalogs

Post by flowney »

Here is the response that I received from the Calibre developer:

Links for the ibook format are present in feeds generated by the current
calibre release. For example:

<link href="/get/azw3/1376" type="application/x-mobi8-ebook" rel="http://opds-spec.org/acquisition"/>
<link href="/get/epub/1376" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/ibook/1376" type="application/x-ibooks+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/1376" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/1376" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>

status invalid

** Changed in: calibre
Status: New => Invalid

The version that is current for MacOS X 10.9 is 1.36 and that is precisely the version running at http://grumpy.gcsu.edu:80800/opds so I don't know. Here is my bug report: https://bugs.launchpad.net/calibre/+bug/1318719
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Handling OPDS catalogs

Post by barijaona »

flowney wrote:Here is the response that I received from the Calibre developer:

Links for the ibook format are present in feeds generated by the current
calibre release. For example:

<link href="/get/azw3/1376" type="application/x-mobi8-ebook" rel="http://opds-spec.org/acquisition"/>
<link href="/get/epub/1376" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/ibook/1376" type="application/x-ibooks+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/1376" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/1376" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
May be there is a problem in your own Calibre setting ?
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Re: Handling OPDS catalogs

Post by flowney »

There isn't that much to configure so I doubt that is an important variable.Server port:8080 Username: calibre Password: <none> Max Cover Size: 600x800 Max OPDS items per query: 30 Max ungrouped items: 100 The server is set to run automatically when Calibre starts. That's it. The calibre app is designed to be used by book lovers who don't necessarily have any technical chops.
If I may, I'd like to suggest that you download a copy of Calibre for your OS to use it as a testbed. http://calibre-ebook.com I can supply you with a bunch of sample ePub and iBooks files. Perhaps by reducing the intermediation (me), the communication both ways will improve. There is also a link to their bug reporting system at the address above.

I think that Vienna is an excellent candidate for handling OPDS catalogs on MacOS X in addition to RSS feeds. Unlike eReaders that add OPDS support but don't handle ePub 3 or *ibooks files, Vienna would simply hand off the file to an app that does such as iBooks.app on MacOS X. This would enable educators like myself to use Calibre server (or Calibre2OPDS and a cloud service such as Dropbox) to create eBook catalogs aligned to a topic or class, something that cannot be done in the iBookstore or with an iTunes.app subscription to an RSS feed. The iTunes app ignores any *.ibooks file in an RSS feed to which it is subscribed, probably to encourage greater traffic to the iBookstore.
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Handling OPDS catalogs

Post by barijaona »

I am also on OSX 10.9, and after updating to the latest version of calibre (1.36.0) and retesting, I can confirm there is probably a calibre bug here. Could this bug be OS X specific ? Or is there something in calibre settings that both of us do not understand ?
Anyway, on a stock calibre 1.36 configuration, the link to the ibooks are not included in the relevant atom feeds.

For instance, the feed lisiting your latest books (http://grumpy.gcsu.edu:8080/opds/navcat ... 6577657374) include the entry :

Code: Select all

  <entry>
    <title>SVG iBooks Author example</title>
    <author>
      <name>Unknown</name>
    </author>
    <id>urn:uuid:b0cbe134-3ae7-4494-83de-ba5cf5f61dba</id>
    <updated>2014-05-13T14:24:44+00:00</updated>
    <link href="/get/cover/442" type="image/jpeg" rel="http://opds-spec.org/cover"/>
    <link href="/get/thumb/442" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
  </entry>
It should have included a line

Code: Select all

    <link href="/get/ibook/442" type="application/x-ibooks+zip" rel="http://opds-spec.org/acquisition"/>
If you can guess the correct link (http://grumpy.gcsu.edu:8080/get/ibooks/442), the ibook is correctly downloaded.
No problem with epub and pdf, only with ibook. I have only tested those three formats.
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Re: Handling OPDS catalogs

Post by flowney »

As you saw from the response I got to my bug report, the author asserts that the acquisition link IS there when you and I don't see it. Since we're both running MacOS X 10.9, there is the possibility that an OS-specific bug has crept in. My understanding is that Calibre uses Qt to compile for several platforms from the same code base.

Perhaps if you also submitted a bug report suggesting that it might be specific to MacOS X, he's take a closer look at it. I used your code snippets in my bug report which I thought was pretty compelling evidence but Kovid Goyal (Calibre lead) seems not to have considered it. You saw his response.
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Continuig effort to get Calibre OPDS to support *.ibooks fil

Post by flowney »

Just an FYI that I am still bugging Calibre development about the lack of *.ibooks acquisition links. Here is my latest bug report.

https://bugs.launchpad.net/calibre/+bug/1320487
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Handling OPDS catalogs

Post by barijaona »

The Calibre problem appears fixed in Calibre 1.39 , which takes into account that the correct file extension is .ibooks and not .ibook
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Re: Handling OPDS catalogs

Post by flowney »

Indeed, we now seem to be getting all of the data necessary to Vienna providing download links for both *.ibooks and *.epub files. Currently, neither file type gets a download link if it is from a Calibre OPDS catalog. Yet, Internet Archive *.epub files do get a download link. Is Calibre still missing something?
Here is the XML that Vienna sees from http://grumpy.gcsu.edu:8080/opds/ which contains a number of *.ibooks and *.epub files and is running Calibre 1.39.0.

<?xml version='1.0' encoding='utf-8'?>
<feed xmlns:dc="http://purl.org/dc/terms/" xmlns:opds="http://opds-spec.org/2010/catalog" xmlns="http://www.w3.org/2005/Atom">
<title>calibre Library :: By Newest</title>
<author>
<name>calibre</name>
<uri>http://calibre-ebook.com</uri>
</author>
<id>calibre-all:timestamp</id>
<icon>/favicon.png</icon>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/opds/search/{searchTerms}" type="application/atom+xml" rel="search" title="Search"/>
<link href="/opds" type="application/atom+xml;type=feed;profile=opds-catalog" rel="start"/>
<link href="/opds" type="application/atom+xml;type=feed;profile=opds-catalog" rel="up"/>
<link href="/opds/navcatalog/4f6e6577657374" type="application/atom+xml;type=feed;profile=opds-catalog" rel="first"/>
<link href="/opds/navcatalog/4f6e6577657374?offset=35" type="application/atom+xml;type=feed;profile=opds-catalog" rel="last"/>
<link href="/opds/navcatalog/4f6e6577657374?offset=30" type="application/atom+xml;type=feed;profile=opds-catalog" rel="next" title="Next"/>
<entry>
<title>SVG iBooks Author example</title>
<author>
<name>Unknown</name>
</author>
<id>urn:uuid:b0cbe134-3ae7-4494-83de-ba5cf5f61dba</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/ibooks/442" type="application/x-ibooks+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/442" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/442" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Poetry in Motion</title>
<author>
<name>Unknown</name>
</author>
<id>urn:uuid:c198e6e3-9bf4-4e4e-9b44-a4e1e5c53633</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/ibooks/441" type="application/x-ibooks+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/441" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/441" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>HelloKitty</title>
<author>
<name>Unknown</name>
</author>
<id>urn:uuid:86419776-eb07-408b-b5bc-1ba830eaa4f8</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/ibooks/440" type="application/x-ibooks+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/440" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/440" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Comic Life Test Pattern</title>
<author>
<name>Unknown</name>
</author>
<id>urn:uuid:114ac2c5-8790-46f1-aba6-a07000d8880f</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/ibooks/438" type="application/x-ibooks+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/438" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/438" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>External Video Demo</title>
<author>
<name>Frank Lowney</name>
</author>
<id>urn:uuid:9fed4d3a-45b4-4f46-874c-bda57a052430</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/ibooks/436" type="application/x-ibooks+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/436" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/436" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Lonely Planet's Best In Travel 2011</title>
<author>
<name>Lonely Planet</name>
</author>
<id>urn:uuid:c044ded7-5cc8-4c83-9677-865599b81d1c</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/434" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/434" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/434" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Interactivity example using "Cooking With Booze" by James Bridle</title>
<author>
<name>Liza Daly</name>
</author>
<id>urn:uuid:1a9666ca-d2a8-4377-9ae6-5d2dc88f95bf</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p class="description">EPUB book using JavaScript to enhance textual presentation</p>
</div>
</content>
<link href="/get/epub/433" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/433" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/433" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Video10</title>
<author>
<name>Liz Castro, inspired by Koan-Sin Tan</name>
</author>
<id>urn:uuid:7020a3f9-83c8-48d4-934c-33183d3ddff6</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/432" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/432" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/432" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Catalan Popular Festivals (Example)</title>
<author>
<name>Liz Castro</name>
</author>
<id>urn:uuid:55bc2790-9f99-4935-b53b-f2c9e1d0b862</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p class="description">Adding video to EPUB for iBookstore</p>
</div>
</content>
<link href="/get/epub/431" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/431" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/431" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Hungarian Music Recorded in US (1910-25)</title>
<author>
<name>Library of Congress (editor)</name>
</author>
<id>urn:uuid:356eca84-f495-4ef2-908b-340f8315c14a</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">TAGS: History<br/></div>
</content>
<link href="/get/epub/430" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/430" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/430" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Kurzweil on Singularity</title>
<author>
<name>Lev Grossman</name>
</author>
<id>urn:uuid:7bda023f-8acd-4323-b028-33d351286927</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">TAGS: Long Form Essay<br/></div>
</content>
<link href="/get/epub/429" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/429" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/429" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Reading in the Digital Age</title>
<author>
<name>Kassia Krozser</name>
</author>
<id>urn:uuid:e44fdf50-88aa-4924-b9b1-5c197d35846b</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/428" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/428" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/428" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>20% Hit by Economic Crisis</title>
<author>
<name>Jeanne Sahadi</name>
</author>
<id>urn:uuid:6810520c-01fd-4d05-b28c-42b4d4bc4ef8</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/427" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/427" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/427" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Különféle magyarok meg egyéb népek</title>
<author>
<name>István Tömörkény</name>
</author>
<id>urn:uuid:a78f71a2-07e2-460c-a3db-280fdca92bf7</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/426" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/426" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/426" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>The Blue 33' Chevy</title>
<author>
<name>Frank Lowney Ph.D.</name>
</author>
<id>urn:uuid:29d4e6fd-225f-4f60-ac0a-1e69d220b1f2</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">TAGS: Nonfiction<br/></div>
</content>
<link href="/get/epub/425" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/425" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/425" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Enhanced Audio in EPUB</title>
<author>
<name>Frank Lowney</name>
</author>
<id>urn:uuid:7eeee4a4-62cc-4c94-b88c-9e53f55b2123</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/423" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/423" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/423" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Soft Subtitles Demo</title>
<author>
<name>Frank Lowney</name>
</author>
<id>urn:uuid:5a381309-0c71-422e-8eb7-322a4f449fe4</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/424" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/424" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/424" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Dracula</title>
<author>
<name>Bram Stoker</name>
</author>
<id>urn:uuid:42e4786d-1a61-4fb3-8018-fc734e940a60</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">TAGS: Classics<br/></div>
</content>
<link href="/get/epub/422" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/422" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/422" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Pictorial History of the Modem</title>
<author>
<name>Benj Edwards</name>
</author>
<id>urn:uuid:b59545fd-cf2a-4aea-a33f-f1097b3a848b</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">TAGS: History<br/></div>
</content>
<link href="/get/epub/421" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/421" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/421" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>How to Compose a Photograph</title>
<author>
<name>Ben Long</name>
</author>
<id>urn:uuid:6b6c5f8c-769f-42b9-8d4d-47a0bf831764</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">TAGS: Reference<br/></div>
</content>
<link href="/get/epub/420" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/420" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/420" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>The Tale Of Peter Rabbit</title>
<author>
<name>Beatrix Potter</name>
</author>
<id>urn:uuid:440beac2-7777-4368-9c24-5696a99fe787</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/419" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/419" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/419" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Peter Rabbit - Read by Emma Fielding</title>
<author>
<name>Beatrix Potter</name>
</author>
<id>urn:uuid:87d436b7-7f34-4fa6-867f-00c9f7c4bec4</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">TAGS: Rabbits -- Juvenile fiction<br/></div>
</content>
<link href="/get/epub/418" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/418" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/418" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Appley Dapply's Nursery Rhymes — A Sideway's Play Book</title>
<author>
<name>Beatrix Potter</name>
</author>
<id>urn:uuid:bfa70ef4-814f-4f69-90bf-9e2668b25433</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/417" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/417" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/417" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>My Dad Helped Invent the First Mac</title>
<author>
<name>Aza Raskin</name>
</author>
<id>urn:uuid:45b27555-cc16-44d1-bf42-40b43d3bf90b</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/416" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/416" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/416" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>iPad User Guide for iOS 5</title>
<author>
<name>Apple Inc.</name>
</author>
<id>urn:uuid:660c3903-3e91-49f6-847e-a77347dbb4fb</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">TAGS: Reference<br/><p class="description">Set up and use iPad with iOS 5</p></div>
</content>
<link href="/get/epub/415" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/415" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/415" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>iPad at Work</title>
<author>
<name>Apple Inc.</name>
</author>
<id>urn:uuid:b32520ef-4785-4562-9b14-b83ff60f0385</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/414" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/414" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/414" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Fixed Layout Example 2.0</title>
<author>
<name>Apple Inc.</name>
</author>
<id>urn:uuid:52d2779e-c6b4-4dfb-a111-4bb3621c1bf1</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/413" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/413" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/413" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Fixed-Layout Example</title>
<author>
<name>Apple</name>
</author>
<id>urn:uuid:baf7a619-f2f2-4d0b-9c72-2bdfd9b2fd85</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/411" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/411" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/411" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Sampler 1.3</title>
<author>
<name>Apple</name>
</author>
<id>urn:uuid:a69293a9-a1d1-4542-a3c3-eca8eecd738f</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/epub/412" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/412" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/412" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
<entry>
<title>Apple I Lives Again</title>
<author>
<name>Adam Rosen</name>
</author>
<id>urn:uuid:37e9f599-90ca-438e-a772-677c0004d152</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">TAGS: History<br/></div>
</content>
<link href="/get/epub/410" type="application/epub+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/410" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/410" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
</feed>
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Handling OPDS catalogs

Post by barijaona »

Code: Select all

<entry>
<title>SVG iBooks Author example</title>
<author>
<name>Unknown</name>
</author>
<id>urn:uuid:b0cbe134-3ae7-4494-83de-ba5cf5f61dba</id>
<updated>2014-06-06T14:24:19+00:00</updated>
<link href="/get/ibooks/442" type="application/x-ibooks+zip" rel="http://opds-spec.org/acquisition"/>
<link href="/get/cover/442" type="image/jpeg" rel="http://opds-spec.org/cover"/>
<link href="/get/thumb/442" type="image/jpeg" rel="http://opds-spec.org/thumbnail"/>
</entry>
This works, but you have to resubscribe to the feed to see the attachment link :
Calibre.jpg
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
flowney
Harmless
Posts: 21
Joined: Thu May 01, 2014 3:46 pm

Re: Handling OPDS catalogs

Post by flowney »

Clearly, I'm missing something important. I deleted the feed, re-subscribed, un-subscribed and re-subscribed and refreshed the feed but still see nothing in the enclosure field for any eBook, *.epub or *.ibooks. Screenshot:

https://www.dropbox.com/s/8ddotm4we7phh ... 0Issue.jpg
barijaona
Vienna Team
Posts: 661
Joined: Sat Nov 12, 2011 11:10 am
Contact:

Re: Handling OPDS catalogs

Post by barijaona »

This is my link for "calibre Library :: By Newest" : <http://grumpy.gcsu.edu:8080/opds/navcat ... 6577657374>

Do you have the same URL ?
I contribute to Vienna RSS as a developer.
Please, don't forget those tips for writing a good bug report
Post Reply