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: 4
#4, RE: More Blogbomb RSS and XML resources
Posted by ronzta on Aug-21-03 at 06:44 PM
In response to message #2
Kurt and everyone,

If anyone wants more relevant results from the gnews2rss program, they can go into the code and modify the url to sort the news headlines by relevance instead of by date (currently the default).

Note: Make a backup copy of the php file just in case something gets messed up

Look for the line in the php file that looks something like:

"$url = "http://news.google.com/news?hl=en&num=$num&scoring=d&q=";.urlencode($q);"

remove the portion that reads &scoring=d so that it looks like this:

"$url = "http://news.google.com/news?hl=en&num=$num&q=";.urlencode($q);"

This will sort the results by relevance, thus displaying more results that contain our keywords!!

Ron