10 Commits
Author SHA1 Message Date
Hamazasp Avetisyan 0d459296bd Replace OPDS rel="self" links with acquisition/open-access
rel="self" on a book entry misused the Atom/OPDS convention (which
normally names the feed/entry's own URL, not a local file path).
Local-path links are now written and parsed as
rel="http://opds-spec.org/acquisition/open-access" as well, with the
href's shape (absolute URL vs. path) telling readers which is which -
an entry may carry one of each.
2026-09-01 13:00:53 +04:00
Hamazasp Avetisyan a1c963f413 Archive size support for self links 2026-09-01 12:17:50 +04:00
Hamazasp Avetisyan 5ac7ceee26 Emit embedded thumbnails as data: URI links per OPDS 1.2 5.2.2
Replaces the non-standard <thumbnails> element with a data: URI href on the thumbnail <link>, matching the external-url case's shape.
2026-08-30 13:02:01 +04:00
Hamazasp Avetisyan de4cf431df Remove legacy <thumbnails><thumbnail> parsing from updateFromOpds()
Superseded by data: URI thumbnail links. Nothing shipped with this non-standard element, so drop it outright.
2026-08-30 13:02:01 +04:00
Hamazasp Avetisyan 459c2fa0ff Base64 images dumping into OPDS libs 2026-08-30 13:02:01 +04:00
Hamazasp Avetisyan 6ef401ec60 Moving catalog URL generation out of template file, to support link thumbnails for library 2026-08-30 13:02:01 +04:00
Hamazasp Avetisyan ea3f16e268 Distinguishing between file and catalog stream dumps for OPDS 2026-08-30 13:02:01 +04:00
Hamazasp Avetisyan 8bd1bcc4fe Avoid stray blank line after optional contentAccessUrl link in catalog_v2_entry.xml 2026-08-30 00:51:41 +04:00
Hamazasp Avetisyan e18ea62751 Ability to dump OPDS with "path" support 2026-08-30 00:51:41 +04:00
Hamazasp Avetisyan fd74d6100f Add unit tests for fullEntryOpds
These helpers (formerly fullEntryXML, moved out of opds_dumper.cpp in
an earlier commit) render the guts of every OPDS entry - live catalog
and local dumps alike - but had no direct test coverage of their own.
Named after what they exercise (rendering an OPDS entry), not the
source file they happen to live in, to avoid implying they test the
LibraryDumper base class.
2026-08-03 18:31:17 +04:00