Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
We Distribute
jollyroberts@socialhub.activitypub.rocksJ

jollyroberts@socialhub.activitypub.rocks

@jollyroberts@socialhub.activitypub.rocks
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

View Original

Posts

Recent Best Controversial

  • @JollyRoberts How could you describe a relationship between a Feed and its owner?
    jollyroberts@socialhub.activitypub.rocksJ jollyroberts@socialhub.activitypub.rocks

    So at the moment we have the human who makes the feed as the only item in the attributedTo property.

    Example feed on piefed.social:

    { "@context": [ "https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1" ], "attributedTo": "https://piefed.social/f/fediverse/moderators", "endpoints": { "sharedInbox": "https://piefed.social/inbox" }, "followers": "https://piefed.social/f/fediverse/followers", "following": "https://piefed.social/f/fediverse/following", "id": "https://piefed.social/f/fediverse", "inbox": "https://piefed.social/f/fediverse/inbox", "moderators": "https://piefed.social/f/fediverse/moderators", "name": "Fediverse", "outbox": "https://piefed.social/f/fediverse/outbox", "preferredUsername": "fediverse", "publicKey": { "id": "https://piefed.social/f/fediverse#main-key", "owner": "https://piefed.social/f/fediverse", "publicKeyPem": "-----BEGIN PUBLIC KEY-----.....-----END PUBLIC KEY-----\n" }, "published": "2025-02-26T23:19:40.672055+00:00", "sensitive": false, "type": "Feed", "updated": "2025-02-26T23:19:40.672058+00:00", "url": "https://piefed.social/f/fediverse"}

    attributedTo points to /moderators:

    { "@context": [ "https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1" ], "id": "https://piefed.social/f/fediverse/moderators", "orderedItems": [ "https://piefed.social/u/rimu" ], "totalItems": 1, "type": "OrderedCollection"}

    At this moment we also have the moderators property, but as I have found out in this thread thats not a real property in AP as yet, so I'll adjust the code to not use that in the future.

    We made the /moderators be a collection to give us some future proofing. Ie right now one person can own a given feed. But if we want to add the ability to have more than one person moderate a feed in the future its easier if this starts life as some kind of collection, so we can just add items to it if we want in the future.

    ActivityPub

  • FEP-1d80: Feed Actor - a way to federate a collection of Group actors
    jollyroberts@socialhub.activitypub.rocksJ jollyroberts@socialhub.activitypub.rocks

    Over at PieFed we, like Lemmy and Mbin have gotten requests for a way to have a grouping of communities type feature.

    We experimented with trying to use the existing Group actor, but found that it was not a perfect fit. So we decided that a new AP Actor was the way to go.

    The linked Fep PR defines the Feed actor, based on how its working in production on Piefed instances.

    WIP FEP PR

    ActivityPub
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups