fix(opds): support mixed feed items parsing#16
Conversation
|
Please test and make sure it works as expected at least for:
|
|
@chrox I have tested the changes against the standard OPDS catalogs (Project Gutenberg, Standard Ebooks and ManyBooks), and the parser continues to work as expected for all of them. The original code determined the type of the entire array based solely on the first item ( I suggested this change specifically because Readest already evaluates this mixed-feed scenario (like Copyparty) in its test suite, specifically in I leave the videos below demonstrating that Readest works exactly the same with these catalogs after the changes.
Grabacion.2026-04-27.111218.mp4
Grabacion.2026-04-27.111312.mp4
Grabacion.2026-04-27.111403.mp4 |
|
Looks great. Thanks. |
This is a follow-up to PR #14 to refine the handling of mixed OPDS feeds.
What's changed
getFeedparsing logic to intelligently segregatepublicationsandnavigationarrays on a per-item basis instead of relying entirely on the very first entry. This restores support for such non-standard yet practical implementations found in the wild.