mo_anees Posted October 5, 2012 Share Posted October 5, 2012 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 https://forums.phpfreaks.com/topic/269112-indeed-xml-parsing/ Share on other sites More sharing options...
trq Posted October 5, 2012 Share Posted October 5, 2012 How can I use this xml feed to be displayed properly? For anyone to help you'll first need to define what *properly* is. Link to comment https://forums.phpfreaks.com/topic/269112-indeed-xml-parsing/#findComment-1382841 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.