diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -4123,7 +4123,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, | |||
| 4123 | xs_dict_get(srv_config, "host")); | 4123 | xs_dict_get(srv_config, "host")); |
| 4124 | xs *rss_link = xs_fmt("%s.rss", snac.actor); | 4124 | xs *rss_link = xs_fmt("%s.rss", snac.actor); |
| 4125 | 4125 | ||
| 4126 | *body = timeline_to_rss(&snac, elems, rss_title, rss_link, bio); | 4126 | *body = rss_from_timeline(&snac, elems, rss_title, rss_link, bio); |
| 4127 | *b_size = strlen(*body); | 4127 | *b_size = strlen(*body); |
| 4128 | *ctype = "application/rss+xml; charset=utf-8"; | 4128 | *ctype = "application/rss+xml; charset=utf-8"; |
| 4129 | status = HTTP_STATUS_OK; | 4129 | status = HTTP_STATUS_OK; |
| @@ -5022,7 +5022,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, | |||
| 5022 | } | 5022 | } |
| 5023 | 5023 | ||
| 5024 | 5024 | ||
| 5025 | xs_str *timeline_to_rss(snac *user, const xs_list *timeline, | 5025 | xs_str *rss_from_timeline(snac *user, const xs_list *timeline, |
| 5026 | const char *title, const char *link, const char *desc) | 5026 | const char *title, const char *link, const char *desc) |
| 5027 | /* converts a timeline to rss */ | 5027 | /* converts a timeline to rss */ |
| 5028 | { | 5028 | { |