Dan Jones @[email protected]

Husband, Father, Software Engineer (PHP, go, etc.). Lover of Star Trek and anime.

Looking for other things to do, such as writing, acting, voice acting, but not really finding the time for it. Maybe when my kids are a little older, I'll get back on stage.

Feeling pretty bleak about the future of the United States. #NeverTrump

Feel free to follow. I may follow back if we seem to have similar interests.

#BlackLivesMatter #TransRightsAreHumanRights #StayWoke

Other interests: #Parenting #StarTrek #Writing #Theater #anime #PHP #golang #Programming #WebDevelopment #genealogy #ScienceFiction #DadJokes

My Links

links.danielrayjones.com

Pronouns

he/him/his

XMPP

[email protected]

Mastodon account

fosstodon.org/@danjones000

LinkedIn

linkedin.com/in/danjones000

Résumé

danielrayjones.com

  • Notes
  • Articles
  • Followers 222
  • Following 300
  • Remote follow
Dan Jones's avatar
Dan Jones
@[email protected]

I'm working on a new fedi server, and wanted to build on top of existing ActivityPub C2S API, rather than creating my own API.

I was looking through some of the specs for ideas. One of the things I want to have is similar to Mastodon lists but more hierarchical, and I was trying to think of a good way to represent this. The lists should be an OrderedCollection, but I'm thinking about discovery. Basically, I want an easy way for the client to discover these user-defined lists in an AP-conformant way.

So, on the actor object, there's this field that MAY be included:

streams: A list of supplementary Collections which may be of interest.

I think this is probably what I need, but this isn't very specific about how this field is formatted. And I've never seen this used in the wild. I'm not sure if this is a simple array of URLs to Collections, or a Collection of Collections, or perhaps an object of key/value pairs with the values being links to the Collections.

@[email protected] says on ActivityPub Primer:

This property is not widely implemented. There is not a clear way to filter the list of Collections according to what a client application may need. For example, a client application that wants to show contact lists to the user would not have an easy way to find only contact lists in streams. A client application that wants to show photo albums to the user would not have an easy way to find only photo albums in streams.

He suggests using extensions, in lieu of streams, but since it's not clear exactly how this property is to be used, I'm not sure if this would be insufficient for my needs or not.

Does anybody have any more insight into this field and how to use it?

@[email protected] @[email protected] #AskFediverse #AskFedi

ActivityPub www.w3.org
  • permalink
  • interact from your instance
  • 1 year, 9 months ago
  • 1 like
  • 1 reply
Likes
@evan@cosocial.ca
Evan Prodromou's avatar
Evan Prodromou
@[email protected]

in reply to this object

@danjones000 @dan don't use `streams`. We need an extension for this. I'm happy to work on it with you.

  • permalink
  • 1 year, 9 months ago
Powered by microblog.pub 2.0.0+9c8693ea and the ActivityPub protocol. Admin.