Changeset 1999 for trunk/gsdl


Ignore:
Timestamp:
2001-02-16T17:20:53+13:00 (23 years ago)
Author:
sjboddie
Message:

Fixed a small problem with language detection code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/BasPlug.pm

    r1954 r1999  
    369369    close FILE;
    370370
     371    # remove <title>stuff</title> -- as titles tend often to be in English
     372    # for foreign language documents
     373    $text =~ s/<title>.*?<\/title>//i;
     374
    371375    # remove all HTML tags
    372376    $text =~ s/<[^>]*>//sg;
Note: See TracChangeset for help on using the changeset viewer.