[Egothor-tech] Setting higher priority for certain URLs

Stuart David Lewis [sdl] sdl at aber.ac.uk
Wed Jun 1 16:37:21 BST 2005


>>I know that it's possible using the antispam feature of Egothor to
give 
>>particular URLs or domains precedence to help boost their ratings.
But, 
>>what I'd like to do is to boost:
>>
>>http://www.example.com/directory1/*
>>http://www.example.com/directory2/*

>Unfortunately, this is not implemented and it cannot work unless you 
>patch LinksRank.java (routine guessFor).

Hi Leo,

I've now patched LinksRank, to allow a new class of item in the antispam
table.

As well as 

url http://www.example.com:80/1/2/3/index.html + 50
domain http://www.goodguy.com:80/ + 50

You can now do:

match http://www.example.com:80/1/ + 50
match http://www.example.com:80/2/ + 100

This matches the first part of the URL against the URI being examined in
guessFor.

It seems to work (as far as I can tell by adding debug statements) in
that the URI's examined seem to be picking up the Operation. But the
results don't seem to change in the web app!

To help debug this further, is it possible to view the linksrank of a
URL in the index?

Thanks,


Stuart
_________________________________________________________________

Datblygydd Cymwysiadau'r We            Web Applications Developer
Gwasanaethau Gwybodaeth                      Information Services
Prifysgol Cymru Aberystwyth       University of Wales Aberystwyth

            E-bost / E-mail: Stuart.Lewis at aber.ac.uk
                 Ffon / Tel: (01970) 622860
_________________________________________________________________
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LinksRank.java
Type: application/octet-stream
Size: 9932 bytes
Desc: LinksRank.java
Url : http://egothor.org/pipermail/egothor-tech/attachments/20050601/90931eb7/LinksRank.obj


More information about the Egothor-tech mailing list