Rework list api

This commit is contained in:
jackyzy823 2021-10-02 16:13:56 +08:00
commit 35bb5f9132
7 changed files with 38 additions and 36 deletions

View file

@ -109,7 +109,7 @@ ${renderRssTweets(timeline.content, cfg)}
#end proc
#
#proc renderListRss*(tweets: seq[Tweet]; list: List; cfg: Config): string =
#let link = &"{getUrlPrefix(cfg)}/{list.username}/lists/{list.name}"
#let link = &"{getUrlPrefix(cfg)}/i/lists/{list.id}"
#result = ""
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">