On Wed, 2010-12-08 at 21:24 +0100, Andrea Messina wrote: 

> User A is followed by User B that in turn is followed by User C.


OK.


> Now...if User B makes a reply to the post received from User A, it
> will be notified(PUSH) to user C(because he follows anything written
> by B) which will not understand the <thr:in-reply-to ...> element,

That's correct. Currently, with StatusNet, we just ignore that case.

It may be useful for C to be able to view the original notice, though.
There are a couple of ways to do that.

One is that, if the <thr:in-reply-to> has an "href" attribute, we could
try to do some discovery on that object to get an Activity Streams
representation of it.

That might entail fetching an HTML representation (which is what we
normally link to), and looking for a <link rel="alternate"
type="application/atom+xml;type=entry"> element, and then downloading
and parsing that.

> and in the same time, it will be notified to the source(User A) using
> Salmon.

Right.

> The comment received from UserA will not update his Profile
> Atom(because it is not written by A)

Right.

> and therefore it will not be pushed to others!!!! (Is it right???)

It is right. From your additional punctuation, I take it that you
believe it should be pushed to others.

One way to effect this is to have another feed for replies, and make
that PuSH-enabled.


> Now if user A decides to post a further comment on his first post, it
> will be only pushed to B....


And all other subscribers.


> Case 1 question!!! Why should USERC receive an update written from B
> (this is a reply to User A post...) and not the succeeding reply from
> A?? 


Because C is following B, not A.


> Wouldn't be better for USERC to not receive User B reply to userA??

Why? C can filter these things out on their client end, either
automatically or by just ignoring them.


> Case2) Symmetric friendship:
> 
> 
> User A and B follow each other.


Gottit.


> UserA makes a post; this post well be received by UserB using
> Pubsubhubbub.
> Now UserB replies to it.......Is this reply sent to UserA using Salmon
> or Pubsubhubbub?????? I think it will be sufficient using
> Pubsubhubbub!!!!


It will, but we send it both ways with StatusNet anyways. Since they'll
have the same Atom ID, whichever one comes in second will be ignored.

-Evan 
-- 
Evan Prodromou, CEO and CTO, StatusNet Inc.
1124 rue Marie-Anne Est #32, Montreal, QC, Canada H2J 2B7
E: e...@status.net T: 438-380-4801 x101 W: http://evan.status.net/




_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to