LOl ๐ Not only have a tried to write up a full Twtxt v2 specification, Iโve also written a Bash shell script that implements the new spec ๐
#5sdepuq
(#5sdepuq) @prologic@twtxt.net I notice that in your document it says reply-to
, where in the ReplyTo Extension itโs without the hyphen. (But they also use different values after the colon. :-))
#ebnmbjq
(#5sdepuq) @prologic@twtxt.net The multline example is broken. I donโt see any โpipesโ.
#s2nw6hq
(#5sdepuq) @prologic@twtxt.net For hash calculation we could maybe rethink the newlines and use tabs instead. This is more in line with the twtxt file format itself. With tabs it also is much closer to the registry format (minus the nick).
What about the timestamp format? Just verbatim as it appears in the feed (what I would recommend) or any other shenanigans with normalization, like +00:00 โ Z
?
An append style is not required, btw. If one uses prepend style feeds, the new URL simply comes at the beginning of the file, where the old URL is further down.
Clients must use the full-length hash in their storages, but only use the first eleven digits when referencing? This differentiation is a bit odd.
#lcizupq
(#5sdepuq) @prologic@twtxt.net The reply-to
can come anywhere in the message text? Most examples even put it at the very end. Why relax that? It currently has to be at the beginning, which I think makes parsing easier. I have to admit, at the end makes reading the raw feed nicer. But multi-line messages with U+2028 ruin the raw feed reading experience very quickly.
#tatesua
(#5sdepuq) @prologic@twtxt.net The Content-Type
should probably even include the charset=utf-8
as we learned recently. :-) Iff you want to keep the UTF-8 encoding mandatory. It doesnโt say anything about it in that document.
#5ef6mma
(#5sdepuq) @prologic@twtxt.net What should happen if the archive chain is detected to be broken? I donโt think that including the hash in the prev
field does really help us in reality. What if messages in the archive feed themselves got lost? You canโt detect this unless youโve already known about them. I reckon we can simply use the relative path and call it good. I know, I know, we have this format already today. But in my opinion, the hash does not add value.
#oxluy3q