mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Support RSS for multi-timelines
This commit is contained in:
parent
fba7ed2a19
commit
7c35875fbf
4 changed files with 32 additions and 12 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import strutils, sequtils
|
||||
import ../utils, ../prefs
|
||||
export utils, prefs
|
||||
|
||||
|
|
@ -9,3 +10,6 @@ template getPath*(): untyped {.dirty.} =
|
|||
|
||||
template refPath*(): untyped {.dirty.} =
|
||||
if @"referer".len > 0: @"referer" else: "/"
|
||||
|
||||
proc getNames*(name: string): seq[string] =
|
||||
name.strip(chars={'/'}).split(",").filterIt(it.len > 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue