Go back to previous page
Forum URL: http://www.dombom.com/cgi-bin/dcforum/dcboard.cgi
Forum Name: The New MadBomber Marketing and SEO Forum
Topic ID: 54
Message ID: 126
#126, RE: Yahoo News Update
Posted by jeffhope on Aug-07-04 at 12:28 PM
In response to message #125
Gil,

Here's what Edward's instructions said (may have been in the forum and not in the attachment).

The instructions below worked fine for me.

Jeff

**************************************************************
Just fixed the Yahoo NewsBomb Script as well.

Open yahoonews2rss.php and Find:

$itemregexp = "{<li><a href=\"(<^\">+)\"><big>(.+?)</big></a>.+?</div>\s+(.+?)<br><img}is";

and Replace with:

$itemregexp = "{<li><a.+?href=\"(<^\">+)\">(.+?)</a>.+?</div>(.+?)</li>}is";

also Find:

$data = strstr($data,"YAHOO! NEWS STORY MATCHES");

and Replace with:

$data = strstr($data,"<h2>NEWS SEARCH RESULTS");

That should do it