There might be a bug in jenny that causes it to re-fetch archived feeds on every run. Probably happens on edits/deletes. I’ll look into it soon-ish.
@lyse@lyse.isobeef.org that’s Lyse, doing god’s work! :-P
@sorenpeter@darch.dk I like that. It pretty much matches what I already had in mind. (The implications of part two of point 0 are obviously controversial and I don’t know if we can ever agree on that. 😅)
@quark@ferengi.one Oh dear. 😅 I’m one of the first around here, though. 🤪
@movq@www.uninformativ.de LOL, you are late! :-P Stores around started selling Christmas’s decorations early September. Like, wow! Usually the earliest is after Halloween, more often after Thanksgiving.
Hey @Codebuzz@www.codebuzz.nl, looks like your second twt has a broken timestamp. :-)
Time to put up the christmas decoration, I guess. 🤷✨
@quark@ferengi.one At some point, Yarn must have fetched the feed and used the correct URL (otherwise it wouldn’t have gotten the correct hash). And at that point, it should have updated the uri
field for this twt in its database, I guess? Disclaimer: I know nothing about the internals of Yarn. 😅
@movq@www.uninformativ.de interesting! So, what would the fix be, in this case, do you know? Aware of this, @prologic@twtxt.net?
@quark@ferengi.one That’s confusion on Yarn’s part, I’d say.
Yarn’s API says that twt comes from the URL http://twtxt.prismdragon.net/twtxt.txt – but when using that URL for hashing, I get the hash bjs6aua
instead of mowsvgq
. That’s not the correct hash, so jenny says the twt could not be found.
Inspecting the feed using jenny -D …
yields the correct hash. When looking at the raw feed, we can see:
# nick = gallowsgryph
# description = Green living and permaculture enthusiast, writer, otherkin, weird.
# url = http://prismdragon.net/twtxt.txt
# url = https://dreamwidth.org/gallowsgryph/
# avatar = http://prismdragon.net/img/gallows.png#20241025
So it’s a different URL. When I use http://prismdragon.net/twtxt.txt for hashing, I get the correct hash.
I find it ironically amusing when people leaves twtxt, which anyone can, or could, read (no needs for sign ups, etc.), and move to Twitter. 🤦🏻♂️
@movq@www.uninformativ.de, having an issue fetching a twtxt context. I am getting:
Trying to fetch "#mowsvgq" from Yarn pod https://txt.sour.is ...
Trying to fetch "#mowsvgq" from Yarn pod https://twtxt.net ...
Twt could not be found
Yet, the twtxt is there: https://twtxt.net/twt/mowsvgq. Bug, or something else?
Well, that mention didn’t work. Yarn has been very unreliable on that front (amongst others). Hmm.
@movq@www.uninformativ.de I see. If I edit it, is shows as @gallowsgryph@twtxt.prismdragon.net
.
WOAH! What happened here? I replied to https://twtxt.net/twt/rzuepoq, just now, and this twtxt shows “2h ago”.
Rebuilding my twtxt file after deciding to return, and trying to get back into working on my fork of txtnix as a reason to continue learning Perl again.
@doesnm@doesnm.p.psf.lt like OP, that will not work, as it has wrong/incomplete information.
@bender@twtxt.net This is true 🤣 I’d you don’t specify one; one will be auto-generated 🤣
The text parameters are percent-decoded before matching. Dash (-), ampersand (&), and comma (,) characters in text parameters are percent-encoded to avoid being interpreted as part of the text directive syntax.
@doesnm@doesnm.p.psf.lt “in TWTXT.net, avatars are set for you!” 😂
The specific syntax must (should) be followed as well: https://wicg.github.io/scroll-to-text-fragment/#syntax
avatar
field has a #20240102
at the end: To trick yarnd into reloading it.
Pretty bland without an avatar though 😢
avatar
field has a #20240102
at the end: To trick yarnd into reloading it.
@doesnm@doesnm.p.psf.lt I never really thought about that to be honest 🤔
avatar
field has a #20240102
at the end: To trick yarnd into reloading it.
What if i want to delete avatar? Im deleted avatar meta field but still see avatar on twtxt.net
@doesnm@doesnm.p.psf.lt I did yes 👌
Seems he want “get permanarely unfollowed and ignored”. Btw did you unfollow him? I see follow in your feed
Done
@Codebuzz@www.codebuzz.nl yarnd actually uses WebSub between pods for this reason:
@Codebuzz@www.codebuzz.nl Yes! welcome yo the community 🙇♂️
@bender@twtxt.net Maybe so but likely only recently formalized right?
@bender@twtxt.net Same. I will also blacklist the domain shortly.
@Codebuzz@www.codebuzz.nl Welcome to Twtxt 🤗
Ya know; Rather than being an asshole and getting all angry, just be reasonable and reach out to the community or folks fetching (or trying) your feed.
Most clients respect caching if your feed is transported I’ve HTTP.
Otherwise you can add the # refresh
hint to clients on your feed.
No need to be an obnoxious ass and flood your own feed. That will just get you permanarely unfollowed and ignored.
@sorenpeter@darch.dk your mentions are broken too. His shows fine:
# nick = movq
# url = https://www.uninformativ.de/twtxt.txt
# avatar = https://www.uninformativ.de/avatar.png#20240102
#
# [...]
#
# Legacy, don't use:
# nick_alias = vain
#
# prev = 6v47cua twtxt-old_2024-04-21_6v47cua.txt
What’s on the [...]
is just a comment he added. Here is mine:
# nick = bender
# url = https://twtxt.net/user/bender/twtxt.txt
# avatar = https://twtxt.net/user/bender/avatar#zccci5jyuxv266gelyggvufoacqp3elvhyv2k3t7sfl6hlggtkza
# description = "Yeah, well, I'm gonna go build my own theme park. With blackjack and hookers! In fact, forget the park."
Simplified twtxt - I want to suggest some dogmas or commandments for twtxt, from where we can work our way back to how to implement different feature like replies/treads:
It’s a text file, so you must be able to write it by hand (ie. no app logic) and read by eye. If you edit a post you change the content not the timestamp. Otherwise it will be considered a new post.
The order of lines in a twtxt.txt must not hold any significant. The file is a container and each line an atomic piece of information. You should be able to run
sort
on a twtxt.txt and it should still work.Transport protocol should not matter, as long as the file served is the same. Http and https are preferred, so it is suggested that feed served via Gopher or Gemini also provide http(s).
Do we need more commandments?
I think it could be yarnd’s avatar caching. That’s why my avatar
field has a #20240102
at the end: To trick yarnd into reloading it.
Because the formatting of your twtxt.txt file “headers” is wrong. Everything in your twtxt.txt in here:
# nick = sorenpeter
# description = visualist and livecoder
# url = http://darch.dk/twtxt.txt
# avatar = http://darch.dk/avatar.png
# profile = http://darch.dk/timeline
# webmention = http://darch.dk/timeline/webmention
# prev = archive twtxt-archive.txt
I think it is being ignored. It should be:
# nick = sorenpeter
# description = visualist and livecoder
# url = http://darch.dk/twtxt.txt
# avatar = http://darch.dk/avatar.png
# profile = http://darch.dk/timeline
# webmention = http://darch.dk/timeline/webmention
# prev = archive twtxt-archive.txt
My first PC as a kid had an amber monitor, so this feels right at home:
https://www.youtube.com/watch?v=PeuH0YmWkI4
💛
@prologic@twtxt.net Why does twtxt.net still show my old avatar?
@Codebuzz@www.codebuzz.nl Welcome to the twt’verse 👋
@doesnm@doesnm.p.psf.lt finally someone read my blogpost ;)
@aelaraji@aelaraji.com Thank you, and yes I got more on my websites https://darch.dk/vj/ and https://algorave.dk/videos/
@prologic@twtxt.net it has been around for much longer (worked on Chrome, just recently does on Safari).
@anth@a.9srv.net that doesn’t work because you need encode that URL, like so http://a.9srv.net/tw.txt#:~:text=2024%2D10%2D08-,2024%2D10%2D23T18%3A59%3A49%2D07%3A00
I have muted the user. Everything is back to its peaceful “normality”. LOL.
@doesnm@doesnm.p.psf.lt someone started to follow a “dead” feed. And the feed’s owner is fed up with people following their dead feed, and they have come up with an “innovative” way to fight it.
@prologic huh? looks like someone flooding twtxt
THE LAST HUMAN POST ON THIS FEED IS MORE THAN FOUR YEARS OLD. PERHAPS TWTXT CLIENTS SHOULD THEN FETCH THE FEED VERY RARELY.
According to this it was only published as a specification/standard last year. It’s no wonder 💭
@anth@a.9srv.net I admit I didn’t know about text fragments. How new is this? 🤔
Hm, seems i breaking something in twet code for handling mentions