Further refinment to OPDS/RSS generation and also add Atom feeds

This commit is contained in:
Alex Cabal 2022-06-23 15:03:52 -05:00
parent d75d847004
commit f9fd6c8a02
23 changed files with 733 additions and 859 deletions

View file

@ -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"