Flesh out OPDS generation backend to be more robust and to support generic Atom feeds

This commit is contained in:
Alex Cabal 2022-06-20 21:55:34 -05:00
parent 35188195f1
commit f6df03cfca
23 changed files with 1549 additions and 267 deletions

View file

@ -108,9 +108,10 @@ Define webroot /standardebooks.org/web
Header set Content-Type "text/xml"
</location>
# text/xml allows the page to be displayed in a browser. application/rss+xml will cause it to be downloaded.
# application/xml allows the page to be displayed in a browser and the encoding to be
# determined from the document and not the HTTP headers. application/rss+xml will cause it to be downloaded.
<Location ~ ^/rss/.*$>
Header set Content-Type "text/xml"
Header set Content-Type "application/xml"
</Location>
# Enable HTTP CORS so that browser-based readers like Readium can access opds and ebooks

View file

@ -107,9 +107,10 @@ Define webroot /standardebooks.org/web
Header set Content-Type "text/xml"
</location>
# text/xml allows the page to be displayed in a browser. application/rss+xml will cause it to be downloaded.
# application/xml allows the page to be displayed in a browser and the encoding to be
# determined from the document and not the HTTP headers. application/rss+xml will cause it to be downloaded.
<Location ~ ^/rss/.*$>
Header set Content-Type "text/xml"
Header set Content-Type "application/xml"
</Location>
# Enable HTTP CORS so that browser-based readers like Readium can access opds and ebooks