home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
zkuste
/
Perl
/
ActivePerl-5.6.0.613.msi
/
䆊䌷䈹䈙䏵-䞅䞆䞀㡆䞃䄦䠥
/
_269e531f2bab7a68869d45030face71d
< prev
next >
Wrap
Text File
|
2000-03-23
|
6KB
|
162 lines
<HTML>
<HEAD>
<TITLE>WWW::Search::Monster - class for searching Monster</TITLE>
<LINK REL="stylesheet" HREF="../../../../Active.css" TYPE="text/css">
<LINK REV="made" HREF="mailto:">
</HEAD>
<BODY>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> WWW::Search::Monster - class for searching Monster</P></STRONG>
</TD></TR>
</TABLE>
<A NAME="__index__"></A>
<!-- INDEX BEGIN -->
<UL>
<LI><A HREF="#name">NAME</A></LI><LI><A HREF="#supportedplatforms">SUPPORTED PLATFORMS</A></LI>
<LI><A HREF="#synopsis">SYNOPSIS</A></LI>
<LI><A HREF="#description">DESCRIPTION</A></LI>
<LI><A HREF="#options">OPTIONS</A></LI>
<UL>
<LI><A HREF="#restrict by date">Restrict by Date</A></LI>
<LI><A HREF="#restrict by location">Restrict by Location</A></LI>
<LI><A HREF="#restrict by job category">Restrict by Job Category</A></LI>
</UL>
<LI><A HREF="#author">AUTHOR</A></LI>
<LI><A HREF="#legalese">LEGALESE</A></LI>
</UL>
<!-- INDEX END -->
<HR>
<P>
<H1><A NAME="name">NAME</A></H1>
<P>WWW::Search::Monster - class for searching Monster</P>
<P>
<HR>
<H1><A NAME="supportedplatforms">SUPPORTED PLATFORMS</A></H1>
<UL>
<LI>Linux</LI>
<LI>Solaris</LI>
<LI>Windows</LI>
</UL>
<HR>
<H1><A NAME="synopsis">SYNOPSIS</A></H1>
<PRE>
use WWW::Search;
my $oSearch = new WWW::Search('Monster');
my $sQuery = WWW::Search::escape_query("unix and (c++ or java)");
$oSearch->native_query($sQuery,
{'st' => 'CA',
'tm' => '14d'});
while (my $res = $oSearch->next_result()) {
print $res->company . "\t" . $res->title . "\t" . $res->change_date
. "\t" . $res->location . "\t" . $res->url . "\n";
}</PRE>
<P>
<HR>
<H1><A NAME="description">DESCRIPTION</A></H1>
<P>This class is a Monster specialization of WWW::Search.
It handles making and interpreting Monster searches at
<EM><A HREF="http://www.monster.com">http://www.monster.com</A></EM>. Monster supports Boolean logic with ``and''s
``or''s. See <EM><A HREF="http://jobsearch.monster.com/jobsearch_tips.asp">http://jobsearch.monster.com/jobsearch_tips.asp</A></EM> for a full
description of the query language.</P>
<P>The returned WWW::SearchResult objects contain <STRONG>url</STRONG>, <STRONG>title</STRONG>, <STRONG>company</STRONG>,
<STRONG>location</STRONG> and <STRONG>change_date</STRONG> fields.</P>
<P>
<HR>
<H1><A NAME="options">OPTIONS</A></H1>
<P>The following search options can be activated by sending
a hash as the second argument to native_query().</P>
<P>
<H2><A NAME="restrict by date">Restrict by Date</A></H2>
<P>The default is to return jobs posted in last 30 days.
An example below changes the default to 14 days:</P>
<DL>
<DT><STRONG><A NAME="item_%7B%27tm%27_%3D%3E_%2714d%27%7D">{'tm' => '14d'}</A></STRONG><BR>
<DD>
</DL>
<P>
<H2><A NAME="restrict by location">Restrict by Location</A></H2>
<P>No restriction by default.</P>
<DL>
<DT><STRONG><A NAME="item_%7B%27st%27_%3D%3E_%24state%7D">{'st' => $state}</A></STRONG><BR>
<DD>
Only jobs in state $state. To select multiple states separate them with
a ``+'', e.g. {'st' => 'NY+NJ+CT'}
<P></P>
<DT><STRONG><A NAME="item_%7B%27lid%27_%3D%3E_%24location_id%7D">{'lid' => $location_id}</A></STRONG><BR>
<DD>
Only jobs in $location_id. To find out what $location_id you need please look
at the source of <EM><A HREF="http://jobsearch.monster.com">http://jobsearch.monster.com</A></EM>. Note that $location_id does
<STRONG>not</STRONG> mean the area telephone code.
<P></P></DL>
<P>
<H2><A NAME="restrict by job category">Restrict by Job Category</A></H2>
<P>Use {'fn' => $cat_id} to select one or more job categories you want.
For multiple selection use a '+' sign, e.g. {'fn' => '1+2'}.
Possible categories are:</P>
<UL>
<LI><STRONG><A NAME="item_1_Accounting%2FFinance">1 Accounting/Finance</A></STRONG><BR>
<LI><STRONG><A NAME="item_2_Administrative%2FClerical">2 Administrative/Clerical</A></STRONG><BR>
<LI><STRONG><A NAME="item_12_Creative_Arts%2FMedia">12 Creative Arts/Media</A></STRONG><BR>
<LI><STRONG><A NAME="item_3_Education%2FTraining">3 Education/Training</A></STRONG><BR>
<LI><STRONG><A NAME="item_4_Engineering%2FArchitect%2FDesign">4 Engineering/Architect/Design</A></STRONG><BR>
<LI><STRONG><A NAME="item_5_Human_Resources">5 Human Resources</A></STRONG><BR>
<LI><STRONG><A NAME="item_6_Information_Technology">6 Information Technology</A></STRONG><BR>
<LI><STRONG><A NAME="item_45_Insurance">45 Insurance</A></STRONG><BR>
<LI><STRONG><A NAME="item_7_Legal%2FLaw_Enforcement%2FSecurity">7 Legal/Law Enforcement/Security</A></STRONG><BR>
<LI><STRONG><A NAME="item_47_Manufacturing%2FProduction">47 Manufacturing/Production</A></STRONG><BR>
<LI><STRONG><A NAME="item_8_Marketing%2FAdvertising">8 Marketing/Advertising</A></STRONG><BR>
<LI><STRONG><A NAME="item_9_Medical%2FHealthcare">9 Medical/Healthcare</A></STRONG><BR>
<LI><STRONG><A NAME="item_11_Other">11 Other</A></STRONG><BR>
<LI><STRONG><A NAME="item_44_Retail">44 Retail</A></STRONG><BR>
<LI><STRONG><A NAME="item_10_Sales%2FSales_Management">10 Sales/Sales Management</A></STRONG><BR>
<LI><STRONG><A NAME="item_46_Science%2FBio%2DPharmaceutical">46 Science/Bio-Pharmaceutical</A></STRONG><BR>
<LI><STRONG><A NAME="item_13_Travel%2FHospitality%2FRestaurant">13 Travel/Hospitality/Restaurant</A></STRONG><BR>
</UL>
<P>
<HR>
<H1><A NAME="author">AUTHOR</A></H1>
<P><CODE>WWW::Search::HeadHunter</CODE> is written and maintained by Alexander Tkatchev
(<A HREF="mailto:Alexander.Tkatchev@cern.ch">Alexander.Tkatchev@cern.ch</A>)</P>
<P>
<HR>
<H1><A NAME="legalese">LEGALESE</A></H1>
<P>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.</P>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%>
<TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR="#cccccc">
<STRONG><P CLASS=block> WWW::Search::Monster - class for searching Monster</P></STRONG>
</TD></TR>
</TABLE>
</BODY>
</HTML>