diff options
| author | grunfink <grunfink@comam.es> | 2025-05-28 07:44:34 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-05-28 07:44:34 +0200 |
| commit | 859de583d9b575a830bab92a6379f77c70910a93 (patch) | |
| tree | 6fb11ce4c6089939c155900644f1ca0b0de29b07 /html.c | |
| parent | 5bc451159420d5d51a507fda82a623069cfae92b (diff) | |
Renamed timeline_to_rss() to rss_from_timeline().
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, xs_dict_get(srv_config, "host")); xs *rss_link = xs_fmt("%s.rss", snac.actor); - *body = timeline_to_rss(&snac, elems, rss_title, rss_link, bio); + *body = rss_from_timeline(&snac, elems, rss_title, rss_link, bio); *b_size = strlen(*body); *ctype = "application/rss+xml; charset=utf-8"; status = HTTP_STATUS_OK; @@ -5022,7 +5022,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, } -xs_str *timeline_to_rss(snac *user, const xs_list *timeline, +xs_str *rss_from_timeline(snac *user, const xs_list *timeline, const char *title, const char *link, const char *desc) /* converts a timeline to rss */ { |