summaryrefslogtreecommitdiff
path: root/pages.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-01-12 00:30:04 +1030
committerDaniel Jones <admin@danieljon.es>2020-01-12 00:30:04 +1030
commitb57adf7a8c5ba78fdfdbf9f33dbd4837f10dd5a3 (patch)
treee58644a5a52cc2aca400a38f0eeb00d512086ca0 /pages.h
parentfcab620cc039fd96ea9976ef549448e4aca851de (diff)
downloadwebsitegenerator-b57adf7a8c5ba78fdfdbf9f33dbd4837f10dd5a3.tar.gz
websitegenerator-b57adf7a8c5ba78fdfdbf9f33dbd4837f10dd5a3.zip
further work implementing rss feed
currently broken
Diffstat (limited to 'pages.h')
-rw-r--r--pages.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pages.h b/pages.h
index 7639e4f..09c1abe 100644
--- a/pages.h
+++ b/pages.h
@@ -46,6 +46,9 @@ int createdirectpages(const int *posts, size_t totalposts);
char *generatepagebar(char *bar, size_t size, const int *posts, size_t totalposts, int currentpage, int pagecount);
int generatepostpages(const int *posts, size_t totalposts, int pagecount);
int writeposts(const int *posts, size_t totalposts, const char *outfile, int currentpage, int pagecount);
+int generaterss(const int *posts, size_t totalposts);
+int writerss(FILE *out, int post);
+char *striphtml(char *str, size_t size);
/* generators (to be put into the pages array) */
int frontpage(int flags);
@@ -57,6 +60,5 @@ int opinions_animepage(int flags);
int opinions_everythingpage(int flags);
int portfoliopage(int flags);
int postspage(int flags);
-int rsspage(int flags);
#endif