# 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/rm3puaa
@prologic how do newlines in twts work? I see they don't show up in the raw twtxt.txt (in my browser at least). The twtxt spec seems (?) to forbid actual newlines, so I'm guessing you are using some sort of workaround specific to Yarn?
@prologic Ah cheers. Pity the original spec doesn't allow real newlines, maybe with indentation or escaping a-la-Markdown to indicate continuation linesโฆ but using \u2028
is a clever solution to working around that limitation.
@prologic Ah cheers. Pity the original spec doesn't allow real newlines, maybe with indentation or escaping a-la-Markdown to indicate continuation linesโฆ but using \\u2028
is a clever solution to working around that limitation.
@caesar it works perfectly and what's more it doesn't break older clients, curl and a web browser still works, sure you don't get the intended "view", but that's because it's an "extension" -- You're meant to do a little post-processing when consuming a feed with \\i2028
characters in them and replace with \\n
๐
@caesar it works perfectly and what's more it doesn't break older clients, curl and a web browser still works, sure you don't get the intended "view", but that's because it's an "extension" -- You're meant to do a little post-processing when consuming a feed with \i2028
characters in them and replace with \n
๐
@caesar it works perfectly and what's more it doesn't break older clients, curl and a web browser still works, sure you don't get the intended "view", but that's because it's an "extension" -- You're meant to do a little post-processing when consuming a feed with \i2028
characters in them and replace with \n
๐
@prologic Oh for sure. I just would prefer if the twtxt file could be consumed raw inasmuch as possible; that seems to me to be one of the main points of a raw text-based format vs something more structured. But as you say, this doesn't really break that. As I say, a clever workaround to an annoying flaw in the original spec. ๐