Fine tuning indeed import
I am trying to fine tune the indeed feeds to be relevant for a specific UK region, without much luck it has to be said! A GB wide search is no use for the site, so I tried using the ISO 3166-2 code for the region within the UK, but all I get is US results. I figured I was passing the incorrect data as part of the GET request so made a small change to theme-indeed.php at line 68...
Code:
$indeed_result = file_get_contents('http://api.indeed.com/ads/apisearch?v='.INDEED_VERSION.'&publisher='.trim($jr_indeed_publisher_id).'&sort='.INDEED_SORT.'&limit='.$limit.'&co=gb&l='.$country.'&jt='.$job_type.'&q='.$keyword);
I thought this would then tell indeed that I wanted UK results for the region (as recognised on search at indeed itself) I entered as part of the query string in settings.
Nope! Still getting US results!
Can anyone point out the (probably very simple) error of my ways?
Regards,
Gordon