From ed600a9aeb638f021903edc9f3b9fa4babc53182 Mon Sep 17 00:00:00 2001 From: Aleksei Besogonov Date: Sun, 8 Dec 2024 17:29:03 -0800 Subject: [PATCH] Add a title to OPDS links This allows the OPDS consumers to distinguish `epub` and `kepub` files as they have the same MIME-type. --- cps/templates/feed.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/templates/feed.xml b/cps/templates/feed.xml index fb9166d7..eed76051 100644 --- a/cps/templates/feed.xml +++ b/cps/templates/feed.xml @@ -70,7 +70,7 @@ {% endif %} {% for format in entry.Books.data %} + length="{{format.uncompressed_size}}" title="{{format.format}}" mtime="{{entry.Books.atom_timestamp}}" type="{{format.format|lower|mimetype}}"/> {% endfor %} {% endfor %}