Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
julian
@julian@community.nodebb.org  ·  activity timestamp 5 days ago

⁂ Article

WordPress and 844e

Hi @bdi pfefferle@mastodon.social, I was just curious why @bdi activitypub.blog@activitypub.blog was a user and not a group on NodeBB, so I checked out its AP representation on BrowserStack.

This stood out:

 ... "generator": { "type": "Application", "implements": { "href": "https://datatracker.ietf.org/doc/html/rfc9421", "name": "RFC-9421: HTTP Message Signatures" } }, ... 

I thought "how would you be able to represent multiple implementations if implements is an object?

Hi @bdi pfefferle@mastodon.social, I was just curious why @bdi activitypub.blog@activitypub.blog was a user and not a group on NodeBB, so I checked out its AP representation on BrowserStack.

This stood out:

 ...
"generator": {
"type": "Application",
"implements": {
"href": "https://datatracker.ietf.org/doc/html/rfc9421",
"name": "RFC-9421: HTTP Message Signatures"
}
},
...

I thought "how would you be able to represent multiple implementations if implements is an object?

It looks like it is supposed to be an array, according to FEP 844e.

As an aside, I guess not all WP actors are groups? I feel like we've had this conversation before though hehe.

cc @bdi silverpill@mitra.social

  • Copy link
  • Flag this article
  • Block
Emelia
@thisismissem@activitypub.space replied  ·  activity timestamp 5 days ago

Re: WordPress and 844e

Every single value is equivalent to an array of a single value in JSON-LD... so these are equivalent:

 "implements": {
"href": "https://datatracker.ietf.org/doc/html/rfc9421",
"name": "RFC-9421: HTTP Message Signatures"
}
 "implements": [{
"href": "https://datatracker.ietf.org/doc/html/rfc9421",
"name": "RFC-9421: HTTP Message Signatures"
}]

So it doesn't need "to be an array", but not making it an array could trip up some clients that are not JSON-LD aware.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.2.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login