søren peter mørch

Conversation

Recent posts in reply to #xrswtvq

zvava (twtxt.net)

is the first url metadata field unequivocally treated as the canon feed url when calculating hashes, or are they ignored if they're not at least proper urls? do you just tolerate it if they're impersonating someone else's feed, or pointing to something that isn't even a feed at all?

and if the first url metadata field changes, should it be logged with a time so we can still calculate hashes for old posts? or should it never be updated? (in the case of a pod, where the end user has no choice in how such events are treated) or do we redirect all the old hashes to the new ones (probably this, since it would be helpful for edits too)

Read replies 1 year ago
alexonit (twtxt.alessandrocutolo.it)

@zvava That was my greatest concern with how it is currently handled, I'm afraid to break threads even by fixing a typo.

Handling it via the pod might work but I think it's not the best approach, external feeds and clients don't usually use a pod api but their own implementation, so any workaround won't work there.

That's why my proposals addressed those issues:

  • the idea of using a "key" instead of the url (with the url as a fallback), the key could even be a public key so it can be used verifieable in crypto functions
  • using the timestamp to prevent content changes to break threads (plus being simpler to implement)
  • using an explicit thread reference with an alternative subject format (like [<a href="?search=THREAD_ID" class="tag">#THREAD_ID</a>] Hello world and replies with (<a href="?search=REPLY_ID" class="tag">#REPLY_ID</a>) Ahoy) so the content can change without affecting the thread reference, and anyone can use their own schemes freely
In reply to: #xrswtvq 1 year ago
zvava (twtxt.net)

@alexonit prologic has me sold on the idea of hashv2 being served alongside a text fragment, eg. (<a href="?search=abcdefghijkl" class="tag">#abcdefghijkl</a> https://example.com/tw.txt#:~:text=2025-10-01T10:28:00Z), because it can be simply hacked in to clients currently on hashv1 and provides an off-ramp to location-based addressing (though i still think the format should be changed to smth like #<abc... http://example.com/...> so it's cleaner once we finally drop hashes)

In reply to: #xrswtvq 1 year ago
Reply via email