[PATCH] Fixup RSS feed The RSS feed should be sent with a MIME type of application/xhtml+xml. Furthermore fixup the XML header and add a link to the feed on the changes page. Signed-off-by: Peter Korsgaard --- src/wiki.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Index: didiwiki/src/wiki.c =================================================================== --- didiwiki.orig/src/wiki.c +++ didiwiki/src/wiki.c @@ -737,6 +737,9 @@ datebuf); } + http_response_printf(res, "

Wiki changes are also available as a " + "RSS feed.\n"); + wiki_show_footer(res); http_response_send(res); exit(0); @@ -752,7 +755,9 @@ pages = wiki_get_pages(&n_pages, NULL); - http_response_printf(res, "\n" + http_response_set_content_type(res, "application/xhtml+xml"); + + http_response_printf(res, "\n" "\n" "DidiWiki Changes feed\n");