added rss support

This commit is contained in:
Your Name 2025-02-20 12:58:50 +03:00
parent 3f54bd1a04
commit b7420af3ad
2 changed files with 85 additions and 13 deletions

View file

@ -2,6 +2,7 @@
#define ROOT "8img_dir"
#define DB ROOT"/db"
/* Html generator */
#define CSS "style.css"
#define LOGO "logo.png"
@ -10,3 +11,10 @@
#define TITLE "8img gallery"
#define POST_PER_PAGE 5
/* RSS generator */
#define LINK "mygallery.com"
#define XML_FILE "index.xml"
#define LANGUAGE "en-US"
#define MAX_POST_COUNT 25