Email or username:

Password:

Forgot your password?
Top-level
Terence Eden

Indeed, how could they be?

That means that ID of a reply is different depending on where you see it.

So the ID of this post is:
mastodon. social /@ edent/ 123456

But when you see it on your server, it might appear as:
your. server /@ edent/ 987654

The #MastodonAPI copes with this really well. But it is a mite confusing to get one's head around.

53 comments | Expand all CWs
ostephens

@Edent CW don’t appear in full on my client which means I didn’t have an easy way of seeing your initial point when I was reading the toot. Not sure if I’m missing something (probably) or if that’s just the way it is. Also my replies will default to using the same CW

Terence Eden

@ostephens that's just the way it is 🙂
Some clients allow you to remove CW.

ben

@Edent I think @ostephens means that because you use the CW effectively as a subject line, some clients when they expand the CW-ed post will hide the CW itself and therefore the subject of your post.

(Whereas some will expand the post but leave the warning in place, still readable. I've tried a few clients so far and seen both behaviours.)

Terence Eden

@benjamineskola @ostephens Oh, that's interesting.

I mostly use the web interface. I don't think there's a right or wrong answer.

ben

@Edent @ostephens It looks like the official iOS client treats it as a toggle: either the CW text is displayed or the rest of the post is displayed. But Metatext treats it like a “below the fold” thing with expanding and collapsing. And tooot displays both the CW and the body of the post with no separator because I’ve configured it to always expand CWs. Think you’re right that there’s not really one way that will always work best for every client.

ostephens

@benjamineskola @Edent that’s right. Which means it would work better for users of the iOS client if you were to include the information that is currently only in the CW at the start of the toot as well. Otoh it might be the impetus for me to try out an alternative client!

DELETED

@Edent the numeric IDs are not part of the protocol - it's all URL based. Pleroma uses UUIDs for example

ben

@Edent I ran into this recently: todon.nl/@benjamineskola/10934

I had assumed that an ID of a post on another server is effectively scoped to that server, so when I look for your post on my server it's `your.server/1234` which is different from `my.server/1234`.

ben

@Edent admittedly this is because I was being lazy and trying to deal with the API purely with string manipulation rather than doing it properly :)

Terence Eden

@benjamineskola tsk! Three Our Adas and five Hail Babbages for you, my child.

Terence Eden

This is *not* the optimal way to view a Mastodon conversation - but it gives you an idea of what it looks like as a tree.

Here you can see all the conversation threads - and which instances people are replying from.

Terence Eden

I can now read Mastodon conversations as proper threads on the command-line. Just as nature intended!

Some pretty simple #Python code which uses the #MastodonAPI.

All #OpenSource at codeberg.org/edent/Mastodon_To

Blog coming soon 😃

Andrew

@Edent I reckon feeding ActivityPub to NNTP could be interesting. Then a theaded Usenet reader could be used.

Use hashtags to cross post to different "newsgroups".

patter

@puck @Edent they do have a similar feel, in some ways

George Jones :emacs: :orgmode:

@puck you're not wrong. A mastodon could just be a news feed. Small hacks to make it bidirectional and #usenet is back. Use your favorite newsreaders: rn, gnus,...

Andrew

@eludom I dunno about Usenet -> Mastodon. I did think about that as well, but I think there is enough capability gaps that it'd be a rather poor and disruptive experience. Mastodon -> Usenet can work because we can just the additional info (image alt descriptions etc, CW) as text in the body of the post.

George Jones :emacs: :orgmode:

@puck seems backwards. Usenet posts just text. What in Usenet would not import well?

Hans-Cees

@Edent wonderful 👍
I have published some code to make a bot.

Taras Novak 🇺🇦

@Edent looks great! hot tip: use Textualize Rich Py package to color code those threads and message parts a bit. Make it cyberpunk hardcore! 😂

Julian Andres Klode 🏳️‍🌈

@Edent Let's just add a mastodon backend to neomutt so you can do it in style.

Митя Сошников

@Edent this should definitely be implemented as a feature in toot command-line tool!

Julia

@Edent Cool! This makes me want to disable auto-delete, so I can see what I was up to a year from now.

Terence Eden

@5SpeedFun I'm wary of archiving someone else's content without their permission.
But, yes, I do like the idea of a better threaded interface.

5 Speed All You Need

@Edent If the software exists, you know someone will do it....I mean I'd be surprised if someone doesn't, even if it's just <secret agency> of "democractic/free" country.

I wonder if this is something instances should prohibit in their rules?

Sarah Floris

@Edent that api is wonderfully easy to work with.

Terence Eden

@dutchengineer it is *so* much friendlier than Twitter's.
A few weird things to get my head around, but pretty well thought through.

Folker

@Edent Hey cool, you can read two dozens messages in a fraction of a second where normal people like us have to scroll for ages 😃

Terence Eden

@folkerschamel it may well be the perfect way to read Mastodon 😀

George Jones :emacs: :orgmode:

@Edent maybe repost each message to a #usenet news server and we will have come full circle:-)

palesz

@Edent wait, you just reimplemented usenet!

mmsz

@Edent B-but nature intended wrapping at 80 characters per line 😞

Florian Laws

@Edent Now I'm tempted to write an NNTP bridge so I can read it with slrn

Geeklawyer

@Edent@mastodon.socialUsenet used/uses (past tense offensive to some) a message id that is supposedly globally unique when a message is peered. Dunno if that's a valid comparison though.

Go Up