# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 11
# self = https://watcher.sour.is/conv/uc65s2a
Had some fun messing around with bash and regex: https://github.com/jlj77/bookclub

Super kludgy, but it works! ^x^
How about some cigarette cash, I'll take a look over your scripts in exchange! 😛
@adi Ha ha. Deal!
@jlj Actually, here is a pp version of your gen_feed.sh script https://clbin.com/gA609, not sure about about test -f "$f" or test -f "$b" tho.
https://clbin.com/o1gcB, run with feed > rss.xml.
Is testing for *.html and *.html.old files existing really required?
I'm pretty sure the test -f "$f" is redundant, how about test -f "$b"? https://clbin.com/NOJ2e
Also, we'll have to fix these errors https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fclbin.com%2FYDJvr
@adi Ah, OK. Yeah, I'd seen a proper RSS 2.0 feed that had the items as nested in channel elements. That shouldn't be too tricky; nor fixing the date. Thanks for pointing that out!
@jlj Not sure about the namespaces either, I'd go with something like https://support.tibco.com/s/article/RSS-feed-file-example-with-minimal-xml-tags-which-can-be-used-in-Spotfire-to-setup-RSS-Feed
@adi Right. Makes sense. Thanks!