Feeds are a combination of communities into one, like multireddit or mastodon tags.

Try it out!

  • Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    24
    ·
    14 hours ago

    While the actor is a Group and you can follow it, no posts are Announced. All the federation of posts is still driven by the individual communities within the feed. You’ll need to modify Lemmy to add the logic of subscribing to the constituent communities when you receive an Accept.

    Also there are Add and Remove activities sent out whenever the feed owner manages the list of communities within which would need to be handled.

    Documentation still to come…

      • jollyroberts@jolly-piefed.jomandoa.net
        link
        fedilink
        English
        arrow-up
        13
        ·
        13 hours ago

        For the federating its a new kind of AP actor. I’ll be putting in a FEP for it in the near future, but its basically a “Group” that only cares about the “Following” collection.

        You can see example json for the AP interactions here: https://codeberg.org/rimu/pyfedi/src/branch/main/docs/activitypub_examples/feeds

        The AP interactions for a Feed are:

        • Send a Follow request for a Feed
        • Accept a Follow request (this is automatic for public feeds)
        • Reject a Follow request (this is automatic for private feeds)
        • Announce an Add of a Community to a Feed
        • Announce a Remove of a Community from a Feed
        • Send a Delete of a Feed to subscribers
        • nutomic@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 hour ago

          Hmm so the Feed actor mainly consists of a following collection and uses Add/Remove activities. This really sounds like it should be a Collection and not an actor.