muhh
muhh

I really miss a bit more flexibility in what is displayed in my timeline.
I would like to have RSS feeds that only show the posts but not the replies, and then another feed that only shows the replies but includes the whole conversation.

So I’m getting familiar with micro.blog’s APIs.

|
Embed
Progress spinner
muhh
muhh

I would have expected something like "in-reply-to" in conversations. But there is only the reference to the "OP" and the timestamp. And mentions of course.

This explains why threading in conversations is like it is.

|
Embed
Progress spinner
muhh
muhh

hmmm, "is_linkpost": false. What would make a post a linkpost?

|
Embed
Progress spinner
manton
manton

@muhh That field isn't named well. It essentially just means it's a post that has a title and link to the full blog post, not a microblog post.

|
Embed
Progress spinner
muhh
muhh

@manton ah, ok. Makes sense. Is there something similar for shortened posts?

|
Embed
Progress spinner
manton
manton

@muhh No, not really. I can't actually remember why we have the is_linkpost and we may want to remove it later to clean things up. (Unlikely, but personally I wouldn't depend on it since it's not officially documented.)

|
Embed
Progress spinner
vincent
vincent

@manton @muhh I implemented this so that we can, at a future date, or to allow third party apps, to filter between long posts or micro posts. Just like in Gluon.

|
Embed
Progress spinner
manton
manton

@vincent @muhh Ah, thanks for the reminder! I thought it was something I had added ages ago. We'll probably keep it then. 🙂

|
Embed
Progress spinner
vincent
vincent

@manton yeah, the name isn’t perfect… but it was available to use on the feed item. And I didn’t want to duplicate anything with a new model attribute.

|
Embed
Progress spinner
In reply to
muhh
muhh

@vincent So it's safe to assume that when is_linkblog is true there's something more to fetch and it's not an external link, right?

|
Embed
Progress spinner
vincent
vincent

@muhh the other way around… if it is true it means that the post in question is a long form post (which has a title) and will link to an external url. If it’s false it means it’s a micro post. So the post you made about RSS is classed as a micro post. Hope that makes sense…

|
Embed
Progress spinner
WiredDifferently
WiredDifferently

@muhh …you can do all that? 🤤

|
Embed
Progress spinner