Differences From:
File
src/rss.c
part of check-in
[9be1b00392]
- Rename the "vinfo" page to "ci" and the "vedit" page to "ci_edit".
by
drh on
2009-01-25 20:13:46.
[view]
To:
File
src/rss.c
part of check-in
[9812c6c5ab]
- Add "Generate RSS feed for timeline" option to Timeline preferences. Don't output RSS when it's turned off.
by
dmitry on
2009-10-15 17:20:00.
[view]
@@ -45,8 +45,13 @@
** WEBPAGE: timeline.rss
*/
void page_timeline_rss(void){
+
+ // Do not output RSS if it's turned off in Timeline preferences
+ if (!db_get_boolean("timeline-generate-rss", 1))
+ return;
+
Stmt q;
int nLine=0;
char *zPubDate, *zProjectName, *zProjectDescr, *zFreeProjectName=0;
Blob bSQL;