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
1a742baa51
Add CanEditEbooks benefit and clean up some PHPStan errors
2024-12-14 11:50:16 -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
Alex Cabal
06b82cdaaa
Fix broken updated timestamps in OPDS feeds, and fix and add some type hints.
2024-11-08 12:43:47 -06:00
Mike Colagrosso
41b4c0f8f6
Replace Created with EbookCreated for publication date
2024-11-04 13:16:56 -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
6c603016bd
Move feeds behind Patrons Circle login
2022-07-09 20:09:39 -05: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
11855d34c3
Change rel='related' to rel='alternate' for feeds
2022-06-24 10:25:12 -05:00
Alex Cabal
f9fd6c8a02
Further refinment to OPDS/RSS generation and also add Atom feeds
2022-06-23 21:27:25 -05:00
Alex Cabal
f6df03cfca
Flesh out OPDS generation backend to be more robust and to support generic Atom feeds
2022-06-22 15:09:05 -05:00
Alex Cabal
35188195f1
Add SE tags to OPDS and improve OPDS XSLT stylesheet
2022-06-20 14:44:07 -05:00
Alex Cabal
70a80d0e02
Add system to retrieve and manage donations in a local database
2022-06-20 14:05:27 -05:00
Alex Cabal
305a9d298b
Add XSLT stylesheet for OPDS feeds
2022-06-20 13:52:39 -05:00
Alex Cabal
0d1554735f
Update OPDS feed <rights> element to harmonize boilerplate
2022-04-14 13:08:49 -05:00
Alex Cabal
e191a26417
Add XHTML to OPDS output
2020-10-20 22:44:11 -05:00
Alex Cabal
262e86c625
Enable reading from the ToC and single-page reading
2020-10-11 13:39:32 -05:00
Alex Cabal
eed3355916
Rename .epub3 output to _advanced.epub
2020-09-09 22:22:00 -05:00
Alex Cabal
75e7cce726
Change OPDS feed to show number of ebooks in each subject category, and a 'related' link back to the ebook's SE homepage
2020-07-09 13:15:52 -05:00
Alex Cabal
133f93cdce
Add subjects OPDS feeds, and switch to a more object-oriented approach to generating the OPDS feeds
2020-06-25 13:07:00 -05:00