NAME
WWW::Search::TheITJobBoard - search www.TheITJobBoard.co.uk
SYNOPSIS
use WWW::Search::TheITJobBoard;
use Data::Dumper;
my $oSearch = WWW::Search->new('TheITJobBoard', _debug=>undef);
$oSearch->native_query(
WWW::Search::escape_query("perl"),
{
jobtype => 0,
}
);
while (my $oResult = $oSearch->next_result){
warn Dumper $oResultr;
}
DESCRIPTION
Gets jobs from the UK IT job site, The IT Job Board.
A sub-class of WWW::Search that uses HTML::TokeParser to return WWW::SearchResult
objects for each result found when querying www.theitjobboard.co.uk
.
At the time of writing, valid options for The IT Job Board are as follows:
- keywords
-
THe keywords your target job description should contain. Default is
perl
, of course. - jobtype
-
Valid values are:
1
for contract (our default),2
for permenant, and0
for either. - days
-
The age of the posting, in days, according to the site's records. A value of
0
represents any age. Our default is1
. - orderby
-
Not especially relevant for us: valid values are
1
to order by relevance to the keywords;2
to order by date posted;3
orders by salary;4
puts non-agency jobs first, which is the default. - locations[]
-
Ugly variable name. Default is to return all jobs, regardless. Valid values are:
undef
to return all jobs;180
for UK,124
for Netherlands,93
for Germany,69
for France,308
for Switzerland,170
for Republic Of Ireland,3
for Austria,301
for 'the rest Of the world,'254
for 'other European.' - currpage
-
The number of the page to start at, indexed from
1
. - lang
-
Defaults to
en
for English, but you could try other two-letter ISO codes.
DEPENDENCIES
WWW::Search, HTML::TokeParser.
BUGS
Frankly, this is a quick first-stab at WWW::Search sub-classing and this module. It passes the basic test, which is enough for my needs today, and as far as I can see, it conforms with WWW:Search requirements. But please send bug reports via CPAN.
METHOD native_setup_search
Sets up default search parameters. NOTE that the first argument is the same as the option keywords: see DESCRIPTION, above.
METHOD native_retrieve_some
Retrieve some results. Returns the number of results found. Will make as many HTTP requests as necessary to get to the maximum results you specify.
SEE ALSO
This module was composed after reading WWW::Search, WWW::Search::Yahoo, WWW::Search::Yahoo::Advanced and WWW::Search::Jobserve. If this module is useful to you, check out the latter too.
COPYRIGHT
Copyright (C) Lee Goddard, 2006. Some Rights Reserved.
LICENCE
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 England & Wales License: http://creativecommons.org/licenses/by-nc-sa/2.0/uk.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 England & Wales License. =end html
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 103:
Unterminated C<...> sequence