mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 17:15:29 +00:00
add gemtext support, update debug handler, reorganize api to use with file-based multi-feed config, update version to 0.2
This commit is contained in:
parent
c4c7ee70b8
commit
6c5e005cf8
14 changed files with 210 additions and 308 deletions
19
config/example.toml
Normal file
19
config/example.toml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
update = 60
|
||||
|
||||
[[feed]]
|
||||
url = "https://assets.censor.net/rss/censor.net/rss_uk_news.xml"
|
||||
storage = "./public/censor.net/rss_uk_news"
|
||||
templates = ["./template/html","./template/gmi"]
|
||||
list_items_limit = 20
|
||||
pub_date_format = "%Y/%m/%d %H:%M:%S %z"
|
||||
last_build_date_format = "%Y/%m/%d %H:%M:%S %z"
|
||||
time_generated_format = "%Y/%m/%d %H:%M:%S %z"
|
||||
|
||||
[[feed]]
|
||||
url = "https://assets.censor.net/rss/censor.net/rss_uk_resonance.xml"
|
||||
storage = "./public/censor.net/rss_uk_resonance"
|
||||
templates = ["./template/html","./template/gmi"]
|
||||
list_items_limit = 20
|
||||
pub_date_format = "%Y/%m/%d %H:%M:%S %z"
|
||||
last_build_date_format = "%Y/%m/%d %H:%M:%S %z"
|
||||
time_generated_format = "%Y/%m/%d %H:%M:%S %z"
|
||||
Loading…
Add table
Add a link
Reference in a new issue