Changeset 147

Show
Ignore:
Timestamp:
01/10/07 13:13:06 (2 years ago)
Author:
stephenson
Message:

All done?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/stephenson-link_scoring/lib/HoneyClient/Agent/Driver/Browser.pm

    r144 r147  
    13221322                # and really long text would be weird or abnormal to the human 
    13231323                # web surfer. 
    1324                 if ($text !~ /img/i && 
     1324                if ($text !~ /img /i && 
    13251325                    length($text) > $min_text_length && 
    13261326                    length($text) < $max_text_length) { 
     
    13311331                # We score the size proportional to a 1024 X 768 display 
    13321332                # Image bonus 
    1333                 if ($text =~ /img=/i) { 
     1333                if ($text =~ /img /i) { 
    13341334                    $score += $image_bonus; 
    13351335                }