Commit graph

11 commits

Author SHA1 Message Date
Mike Colagrosso
03ed3c2257 Add Ebook::DownloadUrl for web and feed downloads
This commit adds a rewrite rule for ebook downloads of the form:

```
/ebooks/some-author/some-book/downloads/some-filename.epub
```

to `www/ebooks/download.php`. That file handles the logic of whether to
show a thank you page before beginning the download.

Download URLs in RSS, Atom, and OPDS feeds follow the same pattern, but
they have a query string parameter `?source=feed` to always skip the
thank you page.
2025-04-25 14:31:44 -05:00
Alex Cabal
b2df8a7018 Type fixes 2025-02-08 12:33:13 -06:00
Alex Cabal
664c51ea79 Fix dates in Atom entries 2025-02-03 11:14:05 -06:00
Alex Cabal
8e2bb6edb0 Fix broken XHTML file inclusion in feeds 2024-11-15 21:26:10 -06:00
Alex Cabal
c35c47b793 Add DateTimeFormat enum 2024-11-08 16:41:15 -06:00
Alex Cabal
c3c588cc1b Add more type hints and work on some code formatting 2024-11-08 14:20:06 -06:00
Mike Colagrosso
2613871e2d Replace LocTags with LocSubjects missed in #351 2024-11-04 13:16:56 -06:00
Alex Cabal
f7ff76bf7d Rename some Formatter functions for clarity 2024-01-17 16:04:30 -06:00
Alex Cabal
c2cf6ef455 Change 'modified' property to 'updated' for consistency 2022-06-29 18:55:51 -05:00
Alex Cabal
dbefba6b94 Change 'timestamp' properties on objects to more descriptive names 2022-06-29 17:19:28 -05:00
Alex Cabal
1b237265c7 Add opensearch directives to Atom and RSS feeds 2022-06-24 13:26:15 -05:00