I think I got what you mean! Thanks a lot for your help! I will post again if i 
am in trouble! 

> Date: Wed, 19 Feb 2014 19:38:56 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: Scoring plugin
> 
> > But then, if I wanted to update the score of an inlink based on an image 
> > url I would call
> updateScore().inlinkedStoreData.setScore(whatever)?
> 
> 1) never call updateScore() or any other method defined in the plugin 
> interface by yourself!
> 
> > By doing that, I would change the score of a Score Datum, not the score of 
> > the actual Webpage. Am
> I missing something here?
> 
> Hasn't the score of a page containing 25 image links been already set to 251 
> (as expected) by
>   row.setScore(aleks+adjust);
> ?
> ScoreDatums are only used to transfer scores from a page to all pages it 
> links to.
> You can change a ScoreDdistributeScoreToOutlinks()atum's score inside 
> distributeScoreToOutlinks()
> and read the saved
> value in updateScore(). ScoreDatum a temporary "container" for scores inside 
> the update job,
> nothing persistent.
> 
> On 02/19/2014 10:41 AM, Vangelis karv wrote:
> > 
> > 
> >> I understood right you want the score only be based on the number
> >> of image outlinks. Would an empty method updateScore() help?
> >> You don't want to have a score influenced by inlinks, right?
> > 
> > You are right! Maybe, an empty updateScore() would help. 
> > 
> > But then, if I wanted to update the score of an inlink based on an image 
> > url I would call updateScore().inlinkedStoreData.setScore(whatever)?
> > By doing that, I would change the score of a Score Datum, not the score of 
> > the actual Webpage. Am I missing something here? 
> > 
> >                                       
> > 
> 
                                          

Reply via email to