Jump to content

Indeed Xml Parsing


mo_anees

Recommended Posts

I am trying to get jobs from indeed and displayed on my web page. The file is Index.php following are the contents of the file

 

$ch = curl_init("api.indeed.com/ads/apisearch?publisher=3312850746006621&l=islamabad&sort=&radius=25&st=&jt=&start=&limit=&fromage=&filter=&latlong=1&co=pk&chnl=personforce&userip=1.2.3.4&useragent=Mozilla/%2F4.0%28Firefox%29&v=2");

curl_exec($ch);

 

when i execute this file I get Indeed's xml feed on my index.php page.

 

How can I use this xml feed to be displayed properly?

 

Between the two dashed lines I am including the sample xml response as well

 

--------------------------------------------------------------------------------------------------------------

islamabad true false 2187 1 10 25 0 Technology Sales Representative IV Oracle Islamabad PIS PK Islamabad Oracle Thu, 04 Oct 2012 20:41:50 GMT Sells a subset of product or services directly or via partners to a large number of named accounts/non-named accounts/geographical territory (mainly Tier 3... http://www.indeed.com.pk/viewjob?jk=c3fe801a2074a309&qd=Ug_XbAmQziydODlPr4hms0SXTh9IkYpbUt7Brr3yTdsqOPOtM-XpjB0h5wh-exOs0JAy_uuojM_N81JYi5_F-cWVwMZ3urjTWgYsjW2vf74&indpubnum=3312850746006621&chnl=personforce&atk=178o72pl30g6161p indeed_clk(this, '9127'); 33.717033 73.06044 c3fe801a2074a309 false false Islamabad 13 hours ago Food Security and Livelihoods Coordinator Action Against Hunger Islamabad PIS PK Islamabad Action Against Hunger Wed, 03 Oct 2012 18:13:40 GMT Location: Islamabad Duration: 12 months General Objectives: This is a Senior Management position expected to develop national FSL programming and co-ordinate... http://www.indeed.com.pk/viewjob?jk=902a6496c287b123&qd=Ug_XbAmQziydODlPr4hms0SXTh9IkYpbUt7Brr3yTdsqOPOtM-XpjB0h5wh-exOs0JAy_uuojM_N81JYi5_F-cWVwMZ3urjTWgYsjW2vf74&indpubnum=3312850746006621&chnl=personforce&atk=178o72pl30g6161p indeed_clk(this, '9127'); 33.717033 73.06044 902a6496c287b123 false false

--------------------------------------------------------------------------------------------------------------

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.