Hi Anand,
I think you can just add 1 condition and 1 method to use that as you
require.
the code will be in BasicPeopleService and Related DbFetcherFile of your
container.
In BasicPeopleService
getPeople() method :
Condition will be like
case 'friends':
if($networkDistance)
$friendIds = XmlStateFileFetcher::get()->
getCommonFriendIds($token.owner,$token.viewer);
else
$friendIds = XmlStateFileFetcher::get()->getFriendIds();
In DbFetcher File write a function to find retrive common friends of Viewer
and Owner.
On Thu, Aug 28, 2008 at 1:06 PM, anand sharma
<[EMAIL PROTECTED]>wrote:
> Hi Ram
> How r u ??? Hope u r doing well there.
> I am using shindig 0.8 as a container and i want to use NETWORK_DISTANCE in
> my gadget .
> I just know that NETWORK_DISTANCE is just like FOFOF (friends of friend of
> friend ).
> I just want to retreive common friends between OWNER profile and VIEWER
> profile with the Help of NETWORK_DISTANCE
>
> Do u have any suggestion for me so that i would proceed .
>
> Thanx for support .
>
> Cheers
> Anand
>
--
Ram Sharma
Software Engineer
Impetus Infotech (India) Pvt Ltd
Indore