diff options
author | Daniel Jones <admin@danieljon.es> | 2020-01-12 01:46:00 +1030 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2020-01-12 01:46:00 +1030 |
commit | 154c94f59045d1f0af52ca4a058b42d7f8790220 (patch) | |
tree | 0fdce772f1c4b25b2254d2bd9ba1c689133fd0bf /pages.h | |
parent | b57adf7a8c5ba78fdfdbf9f33dbd4837f10dd5a3 (diff) | |
download | websitegenerator-154c94f59045d1f0af52ca4a058b42d7f8790220.tar.gz websitegenerator-154c94f59045d1f0af52ca4a058b42d7f8790220.zip |
finished rss generation
added rss button to template
Diffstat (limited to 'pages.h')
-rw-r--r-- | pages.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,7 @@ #ifndef PAGES_H #define PAGES_H +#define _XOPEN_SOURCE #include <stdio.h> #include <string.h> @@ -49,6 +50,7 @@ int writeposts(const int *posts, size_t totalposts, const char *outfile, int cur int generaterss(const int *posts, size_t totalposts); int writerss(FILE *out, int post); char *striphtml(char *str, size_t size); +char *rfc822date(char *date, size_t size); /* generators (to be put into the pages array) */ int frontpage(int flags); |