Re: exclude keywords from RSS search
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: exclude keywords from RSS search

From: Michael Phipps <gravityspike_spamfree_@optusnet.com.au>
Date: Sun Jul 24 2005 - 14:54:18 CEST

>I have a script which parses the BBC RSS feed once an hour, and drops
> any stories with certain keywords into a database. I would like to ban
> certain strings; at the moment the script will pick up the word "train"
> but also "training"; this is giving me a lot of false positives. Can
> anyone assist? I tried a couple of things but nothing that works.

Have you tried a regular expression? I had a quick glance at your code, but
couldn't see any.

PHP Manual: http://au3.php.net/regex

Michael
Received on Mon Oct 24 02:08:51 2005