WWW::Search::HotFiles - class for searching ZDnet HotFiles |
WWW::Search::HotFiles - class for searching ZDnet HotFiles
require WWW::Search; $search = new WWW::Search('HotFiles');
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.
One of several print samples for this backend (this is a WebSearch example):
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
To make new back-ends, see the WWW::Search manpage.
Maintained by Jim Smyser <jsmyser@bigfoot.com>
HotFiles.pm adheres to the WWW::Search test mechanism. See $TEST_CASES below.
The original parts from John Heidemann are subject to following copyright notice:
Copyright (c) 1996-1998 University of Southern California. All rights reserved.
Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the University of Southern California, Information Sciences Institute. The name of the University may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
WWW::Search::HotFiles - class for searching ZDnet HotFiles |