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
  1. Home
  2. Fediverse
  3. ActivityPub
  4. I have just discovered an important difference between the FEP-E232 specification and your implementation.

I have just discovered an important difference between the FEP-E232 specification and your implementation.

Scheduled Pinned Locked Moved ActivityPub
1 Posts 1 Posters 76 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • heluecht@socialhub.activitypub.rocksH This user is from outside of this forum
    heluecht@socialhub.activitypub.rocksH This user is from outside of this forum
    heluecht@socialhub.activitypub.rocks
    wrote on last edited by
    #1

    I have just discovered an important difference between the FEP-E232 specification and your implementation. Is this intentional? In E232 a link object contains these elements:

    "Type": "link","mediaType": "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"","href": "https://server.example/objects/123","name": "RE: https://server.example/objects/123"

    Your example has these elements:

     "type": "link","mediaType": "application/ld+json; profile=\"https://www.w3.org/ns/activitystreams\"","href": "https://example.com/users/alice/statuses/1","rel": "https://misskey-hub.net/ns#_misskey_quote",

    The name from E232 (although marked as "optional") is crucial for a visually nice embedding of the quote in the post. Implementations may replace the value of "name" within the content with the quoted object itself.

    I'm not sure about using https://misskey-hub.net/ns#_misskey_quote as a link relation. The original Misskey implementation of quoted posts works differently. It simply uses _misskey_quote as a value in the note to point to the quoted element. (Although off the top of my head I think they now also use quoteUrl, which is used by other implementations.

    I suggest concentrating on E232 and omitting this rel parameter. If you want compatibility with other implementations that haven't implemented E232 yet, sending quoteUrl as an additional value should be enough.

    silverpill@socialhub.activitypub.rocksS 1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • 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