You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on translating AS1 vocabulary to AS2 in pump.io in preparation for our migration to ActivityPub - I wanted to see what Granary does and try to align if possible.
AS2 has no Favorite, it uses Like in all cases instead
Granary has Add as the AS2 equivalent of tag but these seem pretty different semantically (I assumed tag was just dropped but maybe you have a different read on the spec?)
Heya!
I'm currently working on translating AS1 vocabulary to AS2 in pump.io in preparation for our migration to ActivityPub - I wanted to see what Granary does and try to align if possible.
Looking at https://github.com/snarfed/granary/blob/d76e923c2fb3142223668c665c3bff7f76207882/granary/as2.py I spotted a couple things that seemed funky:
Favorite
, it usesLike
in all cases insteadAdd
as the AS2 equivalent oftag
but these seem pretty different semantically (I assumedtag
was just dropped but maybe you have a different read on the spec?)post
isn't always equal toCreate
; it's anAdd
with atarget
(https://www.w3.org/TR/activitystreams-core/#activitystreams-1.0a)granary/granary/as2.py
Line 127 in d76e923
@type
, nottype
?Let me know if I missed something. pump-io/pump.io#1483 (comment) is tracking this in pump.io FWIW.
Cheers :)
The text was updated successfully, but these errors were encountered: