commit 707bcf5ba7dc8eb2540d83d108b441e8a2efc7d5
parent 9829b528222396517c48aa339039dffa76606a17
Author: Paco Esteban <paco@e1e0.net>
Date: Wed, 1 Jul 2020 17:18:16 +0200
rss: description is a needed field
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ssnail.c b/ssnail.c
@@ -654,6 +654,7 @@ write_rss(char *dst_path, char *rss_listing, char *title, char *url)
"<title>%s</title>\n"
"<link>%s</link>\n"
"<lastBuildDate>%s</lastBuildDate>\n"
+ "<description>%s</description>\n"
"%s\n"
"</channel>\n"
"</rss>\n";
@@ -672,7 +673,8 @@ write_rss(char *dst_path, char *rss_listing, char *title, char *url)
goto out;
}
- int ret = fprintf(fout, rss_format, title, url, pub_date, rss_listing);
+ int ret = fprintf(fout, rss_format, title, url, pub_date,
+ title, rss_listing);
if (ret < 0) {
error = ssnail_error_from_errno("write rss");
goto out;