Closed HadrienGardeur closed 5 months ago
This is also relevant for the node.js/Typescript version cc @danielweck
I'm also interested in receiving feedback about the output from @aslagle or @leonardr
A few things that are different in OPDS 2.0 with the current proposal:
images
are now a collection instead of just a link with a specific rel value, this is primarily meant to support responsive images (multiple formats and size listed, the client can then select the best fit like in HTML5)
While the current version of the Go streamer is focused on parsing and serving a single publication, the use case for both the Go and node.js/Typescript versions of the streamer might be primarily on the server side.
To better adapt to such use cases, we should do the following:
publications/
/publications.json
OPDS 2.0 is not truly a thing yet, aside from a few experiments on Gist.
But to reach a point where we're comfortable writing a specification for OPDS 2.0, we need to experiment and this is the perfect opportunity to do it.
Here are a few ground rules:
application/opds+json
publications
(equivalent of an acquisition feed),navigation
andgroups
(to replacerel="collection"
and aggregate publications together in a single feed)publications
collectionmetadata
,links
and a newimages
collection that contains one or more different covers)Here's a very basic example of what the output will look like: