However, before that it says "but its meaning is somewhat similar to
the English preposition "to"".
The usage we are considering would be something like the following:
James (actor) has posted (verb) a note (object) "to" Evan (target)
Is this a fair interpretation? Also, would it be acceptable to have
multiple targets? (i.e. mention multiple users in a post).
Thanks :)
[1] http://martin.atkins.me.uk/specs/activitystreams/atomactivity#anchor7
--
James Walker :: http://walkah.net/
When used with the verb "to post" we generally assume target to be the
thing that the object was posted in to, such as a blog or a photo album.
It seems like what you're trying to model here is something like a
Twitter @reply, which is not necessarily in response to a particular
message but is rather just addressed to a specific person.
This does seem to be a hole in the spec right now, but given the
established meaning of "target" when used in conjunction with the "post"
verb, I think it would be better to attack this in a similar way to how
we attack traditional comments -- by adding a property to the note
itself which says who it is addressed to.
For a traditional comment this is done with the Atom Threading
Extensions in-reply-to element, but that element assumes that the
comment is in reply to some other object, rather than just being a
message addressed to a specific person. I think to represent this we'd
need to make something up, since I don't know of any existing Atom
extension for representing that an entry is addressed to a particular
person.
Thanks for the feedback, Martin. This is more inline with our original
interpretation.
For context, yes we at status.net are using ActivityStreams (with both
PuSH and Salmon) for federated status updates. We're already using
atom threading for the case where we know for sure that it's
in-reply-to a specific notice. However, for the more casual "mention"
we'd like to be able to verify that the post was actually intended
(from the source's perspective) for the receiving account.
We'd already introduced our own element ( <ostatus:attention /> ) for
this purpose - since threading doesn't work and it didn't seem like
activity:target wasn't quite right. Sounds like that was the right
approach. We revisited it because we'd rather not have our own
elements... so if this is something that would have general use for
activitystrea.ms we'd be all for adopting it.
Anyone else come across a need / use case for "directed activity" ?
It sounds like your "attention" element would be generally useful as a
standalone Atom extension, like Atom Threading Extensions is.
Would you be interested in writing a draft spec for that element? The
spec document could probably be similar in structure to the Atom
Threading Extensions document.
--
You received this message because you are subscribed to the Google Groups "Activity Streams" group.
To post to this group, send email to activity...@googlegroups.com.
To unsubscribe from this group, send email to activity-strea...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/activity-streams?hl=en.
Hrm. I'm not opposed to this switch - but can you expand as to why?
(off list even, if it's not appropriate to AS specifically).
> As an aside, per a discussion I just had with Will Norris, and want to
> capture before I forget:
> A good reason why this has to be in the payload for purposes of attention
> pings, as opposed to just assuming that the recipient is using unique URIs
> for each salmon-mention endpoint: You want this to be covered by the Salmon
> signature mechanism, which only covers the payload data. If you don't sign
> it, you're vulnerable to an attack in which someone damages your reputation
> by copying your salmon and pretending that you're sending them to random
> endpoints who aren't really mentioned in the text.
Yes, exactly... we check (and will drop) things that his our salmon
endpoint that don't either a) contain an atom threading in-reply-to or
b) an <ostatus:attention /> that matches (and we can have several
attentions).
So glad that you guys agree! (John: salmon-wise this is part of why i
don't think mentions / replies need separate endpoints - we've
combined them in our implementation).
--
James Walker :: http://walkah.net/
On Thu, Mar 4, 2010 at 4:32 PM, John Panzer <jpa...@google.com> wrote:Hrm. I'm not opposed to this switch - but can you expand as to why?
> Bikeshedding: I think it'd be better to have something equivalent to
> ostatus:attention as a link with a new rel (the relationship being, the
> target href is mentioned in this entry).
(off list even, if it's not appropriate to AS specifically).
On Thu, Mar 4, 2010 at 4:32 PM, John Panzer <jpa...@google.com> wrote:Hrm. I'm not opposed to this switch - but can you expand as to why?
> Bikeshedding: I think it'd be better to have something equivalent to
> ostatus:attention as a link with a new rel (the relationship being, the
> target href is mentioned in this entry).
(off list even, if it's not appropriate to AS specifically).