WWW::Search::Jobserve(3pm) | User Contributed Perl Documentation | WWW::Search::Jobserve(3pm) |
WWW::Search::Jobserve - backend for searching www.jobserve.com
use WWW::Search; my $oSearch = new WWW::Search('Jobserve'); my $sQuery = WWW::Search::escape_query("(Fast Food Operative) and PERL"); $oSearch->native_query($sQuery, { job_category => 'it' }); while (my $oResult = $oSearch->next_result()) { print $oResult->url, "\n"; print $oResult->title, "\n"; print $oResult->description, "\n"; }
This class is a Jobserve specialisation of WWW::Search. It handles making, retrieving and interpreting Jobserve searches http://www.jobserve.com.
This class exports no public interface; all interaction should be done through WWW::Search objects.
This class can be used to query both the UK and Australian Jobserve sites, see below.
The search will terminate unless "job_category" is set in the native_query options.
The results are ordered Best Match first
(unless 'job_order' => 'DateTime' is specified).
Parameters Available:
job_category job_type job_lookahead job_order jobserve_site
$oSearch->native_query($sQuery, { job_category => 'it' });
The value of this is simply the prefix you see jobserve insert into the url once you've clicked beyond the front page. E.g.
http://www.it.jobserve.com { job_category => 'it' } http://www.engineering.jobserve.com { job_category => 'engineering' }
etc.
$oSearch->native_query($sQuery, { job_type => 'C', job_category => 'it' } );
The search defaults to "All"
$oSearch->native_query($sQuery, { job_lookahead => '2', job_category => 'it' } );
The search defaults to 5
$oSearch->native_query($sQuery, { job_order => 'DateTime', job_category => 'it' } );
The search defaults to "Best Match".
$oSearch->native_query($sQuery, { jobserve_site => 'au', job_category => 'it' } );
The search defaults to "uk"
$oSearch->native_query($sQuery, { job_category => 'it', job_type => 'C', job_lookahead => '2', job_order => 'DateTime', jobserve_site => 'au', } );
To make new back-ends, see WWW::Search.
Doubt it. Please tell me if you find any! Better still have a go at fixing them.
"WWW::Search::Jobserve" was written by Andy Pritchard (pilchkinstein@hotmail.com).
"WWW::Search::Jobserve" is maintained by Andy Pritchard
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.
Altered parse_tree for cases where another href link is inserted before the job title and link
Altered POD and added a README
Released to the public.
2018-11-25 | perl v5.28.0 |