You are here: Re: exclude keywords from RSS search « PHP Programming Language « IT news, forums, messages
Re: exclude keywords from RSS search

Posted by Michael Phipps on 07/24/05 15:54

>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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация