WWW::Search::HotFiles3pm
Class for searching zdnet hotfiles
Usage
require WWW::Search; $search = new WWW::Search('HotFiles');
Overview
Class for searching ZDnet HotFiles (shareware, freeware) via Lycos. http://www.hotfiles.lycos.com.
If you use the raw method for this backend you will need to include a "<p>" at end of your print statement, example:
print $result->raw(), "<p>\n";
This is so that each result returned will have a HTML break since the HTML is being extracted from tables, and, there is no <p> or <br> trailing returned HITS to properly format the results. No BIG deal really.
Print optioins: Using score will return nice star images for rating purposes at end of each description line for each HIT if desired.
Using index_date will return the files date.
Raw returns description, star rating image, date, downloads, OS version.
This class exports no public interface; all interaction should be done through WWW::Search objects.
Usage example
One of several print samples for this backend (this is a WebSearchexample):
print <<END;
<FONT SIZE=2><B>$count. <a href="$prefix$_">$result->{'title'}</A></B><BR>$result->{'description'}$result->{'index_date'} $result->{'score'}<P></SMALL></FONT>
END
Testing
HotFiles.pm adheres to the WWW::Search test mechanism. See $TEST_CASES below.
Releases
2 releases since Debian 2.2 (Potato); the text changed 1 time.