edrlab / thorium-reader

A cross platform desktop reading app, based on the Readium Desktop toolkit
https://www.edrlab.org/software/thorium-reader/
BSD 3-Clause "New" or "Revised" License
1.77k stars 153 forks source link

No "next page" button when sorting by custom Calibre column using OPDS #2057

Open alexandruchircu opened 9 months ago

alexandruchircu commented 9 months ago

Using Calibre, I have added a new column called "Collection":

custom column

I've added Calibre's OPDS link to Moon+ on Android, and I can list the books by collection:

moon show by collection

This is the end of page one when listing by collection on Moon+, notice on the bottom left the left/right arrows that allow me to go to the next page:

moon collection page 1

This is page two:

moon collection page 2

However, on Thorium MS Store edition, I get all the collections that appear on page 1 in Moon+, but there is no next page button that would allow me to see the collections that appear in page 2 in Moon+:

thorium collections list - no next page button

panaC commented 6 months ago

I think this is the spec section for the pagination of navigation link https://specs.opds.io/opds-1.2#24-listing-acquisition-feeds.

In thorium we convert opds1 ( calibre opds feed on xml format ) to opds2 (json format more easy to read and used in thorium, and used by most opds feed now on the web, this is the de facto solution for creating a new opds feed ).

There is apparently an issue with the odps1 to opds2 converter i guess.

panaC commented 4 months ago

Need to be double check with @danielweck on the next Thorium iteration

danielweck commented 4 months ago

it would be super useful to have an opds1 feed containing the navigation construct that isn't working in thorium (presumably because of opds2 conversion bug)