Add index pages for RSS/Atom roots

This commit is contained in:
Alex Cabal 2022-06-24 11:00:42 -05:00
parent 1266c5859b
commit ee545502af
4 changed files with 76 additions and 5 deletions

View file

@ -78,6 +78,8 @@ const PAYMENT_CHANNEL_FA = 0;
const FA_FEE_PERCENT = 0.87;
const SE_SUBJECTS = ['Adventure', 'Autobiography', 'Biography', 'Childrens', 'Comedy', 'Drama', 'Fantasy', 'Fiction', 'Horror', 'Memoir', 'Mystery', 'Nonfiction', 'Philosophy', 'Poetry', 'Satire', 'Science Fiction', 'Shorts', 'Spirituality', 'Tragedy', 'Travel'];
define('PD_YEAR', intval(gmdate('Y')) - 96);
define('PD_STRING', 'January 1, ' . (PD_YEAR + 1));