mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 10:56:46 -04:00
Further refinment to OPDS/RSS generation and also add Atom feeds
This commit is contained in:
parent
d75d847004
commit
f9fd6c8a02
23 changed files with 733 additions and 859 deletions
|
@ -390,12 +390,9 @@ if [ "${feeds}" = "true" ]; then
|
|||
|
||||
"${scriptsDir}/generate-feeds" --webroot "${webRoot}" --weburl "${webUrl}"
|
||||
|
||||
sudo chown --recursive se:committers "${webRoot}/www/opds/"*
|
||||
sudo chmod --recursive 664 "${webRoot}/www/opds/"*.xml
|
||||
sudo chmod --recursive 664 "${webRoot}/www/opds/"*/*.xml
|
||||
sudo chown --recursive se:committers "${webRoot}/www/rss/"*
|
||||
sudo chmod --recursive 664 "${webRoot}/www/rss/"*.xml
|
||||
sudo chmod 775 "${webRoot}/www/opds/subjects"
|
||||
sudo chown --recursive se:committers "${webRoot}"/www/{atom,rss,opds}/{*.xml,subjects}
|
||||
sudo chmod --recursive 664 "${webRoot}"/www/{atom,rss,opds}/{*.xml,subjects/*.xml}
|
||||
sudo chmod 775 "${webRoot}"/www/{atom,rss,opds}/subjects
|
||||
|
||||
if [ "${verbose}" = "true" ]; then
|
||||
printf "Done.\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue