mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 11:26:37 -04:00
Flesh out OPDS generation backend to be more robust and to support generic Atom feeds
This commit is contained in:
parent
35188195f1
commit
f6df03cfca
23 changed files with 1549 additions and 267 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue