Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
馃 socialcoding.. boosted
FenTiger
FenTiger
@fentiger@zotum.net  路  activity timestamp 5 months ago

Flag Activity

Is there any information anywhere on how the Flag activity is used in practice?

As ever, the spec only tells me that it exists; it doesn't say anything about what it contains, where it gets delivered to, how the recipient processes it, etc.

Maybe I could find out more by setting up some test instances and experimenting with it, or by trying to trawl through various repositories to find the relevant source code - but it seems a lot quicker to just ask.

# ActivityPub # ActivityPubDev # FediDev # FediDevs

  • Copy link
  • Flag this post
  • Block
FenTiger
FenTiger
@fentiger@zotum.net  路  activity timestamp 5 months ago

Flag Activity

Is there any information anywhere on how the Flag activity is used in practice?

As ever, the spec only tells me that it exists; it doesn't say anything about what it contains, where it gets delivered to, how the recipient processes it, etc.

Maybe I could find out more by setting up some test instances and experimenting with it, or by trying to trawl through various repositories to find the relevant source code - but it seems a lot quicker to just ask.

# ActivityPub # ActivityPubDev # FediDev # FediDevs

  • Copy link
  • Flag this post
  • Block
LiquidParasyte
LiquidParasyte
@liquidparasyte@app.wafrn.net  路  activity timestamp 7 months ago

Loving the progression that Bonfire is making with Article types and long-form content. Though some softwares are going to have to adapt 馃槄

RE: https://bonfire.cafe/pub/objects/01JYRX7HCGME693BGCZF6AGGK1
#Wafrn #Wafrn-feedback #Bonfire #Bonfire-feedback #ActivityPub #ActivityPubDev

  • Copy link
  • Flag this post
  • Block
LiquidParasyte
LiquidParasyte
@liquidparasyte@app.wafrn.net  路  activity timestamp 9 months ago

ActivityPub question: why is it forbidden to change audience on an Activity after creation?
#ActivityPub #Mastodon #FediverseDev #ActivityPubDev

  • Copy link
  • Flag this post
  • Block
FenTiger
FenTiger
@fentiger@zotum.net  路  activity timestamp 9 months ago

Another nail in the coffin for # JsonLD:

{
    "id": "https://zotum.net/conversation/235e8736-1b3e-4d7f-ab9e-3d49f04ecda7",
    "orderedItems": [
        {
            "type": "Add",
            "object": {
                "type": "Create",
                "object": {
                    "type": "Note",
                    "id": "https://zotum.net/item/235e8736-1b3e-4d7f-ab9e-3d49f04ecda7",
                    "published": "2025-02-25T20:28:33Z",
                    [... original version of post ... ]
                },
            },
        },
        {
            "type": "Add",
            "object": {
                "type": "Update",
                "object": {
                    "type": "Note",
                    "id": "https://zotum.net/item/235e8736-1b3e-4d7f-ab9e-3d49f04ecda7",
                    "published": "2025-02-25T20:28:33Z",
                    "updated": "2025-02-25T20:29:03Z",
                    [... edited version of post ...]
                },

That's a post that I edited shortly after I first made it. The corresponding conversation container contains both the original Create, and an Update with the changes. This means that the embedded Note object appears twice, with different contents, but with the same ID.

JSON-LD processing will kind of squish them together into the same object that contains both the original and the new content etc. Handling this as JSON-LD will mean recognising the high level structure of it first, and then iterating over the orderedItems and processing them individually, rather than trying to treat the whole thing as a single JSON-LD message.

# ActivityPubDev

  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.2-alpha.22 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct