edit-task
Home
Up
Delete
Task Name:
Task Description:
] test query to return (job listings) results from 'jobs listings provider', provider = indeed.com (orig.title= get-listings-from-source-into-sospep )
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">FEATURE# 3260 - careers</h1> <h2 style="text-align: center;">step 001</h2> <h2>[previously]</h2> <ol> <li><strong>*] <a href="/view/task?id=3260" target="_blank">FEATURE-3260 jobs listings</a> </strong></li> <ol> <li>x] overview description of this feature and its development, related links</li> </ol> <li><strong>*] [EXAMPLE] QUERY </strong></li> <ol> <li>http://api.indeed.com/ads/apisearch?publisher=3801732814411962&q=java</li> <li>&l=austin%2C+tx&sort=&radius=&st=&jt=&start=&limit=&fromage=&filter=&latlong=1&co=us&chnl=&userip=1.2.3.4&useragent=Mozilla/%2F4.0%28Firefox%29&v=2</li> </ol></ol> <h2>[currently]</h2> <ol> <li><strong>x] FIND + review the indeed.com api </strong></li> <ol> <li>x] # # review indeed api - 'job listings' provider</li> </ol> <li><strong>x] TEST-001 the example qry</strong></li> <ol> <li>x] # pass - returns XML page with </li> </ol> <li><strong>x] TEST-002 - chANGE location chilliwack, BC, country can, radius=</strong></li> <ol> <li> http://api.indeed.com/ads/apisearch?publisher=3801732814411962&q=web %20developer&l=chilliwack%2C+bc&sort=&radius=110&st=&jt=&start=&limit=&fromage=&filter=&latlong=1&co=ca&chnl=&userip=1.2.3.4&useragent=Mozilla/%2F4.0%28Firefox%29&v=2</li> </ol> <li><strong>x] TEST-003 - process the returned XML results</strong></li> <ol> <li>x] results - FAIL</li> </ol> <li><strong>*] PRB cors request RESOLUTION </strong></li> <ol> <li>x] use server side method to retreive xml results and write the results to a file on the local server </li> <li>x] qry file is generated</li> <li>x] qry successfull</li> </ol> <li><strong>x][TEST 4] TRY format=json, RESULT = PASS </strong></li> <ol> <li>x] good practice to READ the documentation BEFORE you dive into coding/ or you try it out, 2nd option was "format" </li> <li>x] appended callback name to qry </li> </ol> <li><strong>x][TEST 5] JS NEW SCRIPT - "displayJobs" write the callback function, </strong></li> <ol> <li>] displayJobs() </li> </ol></ol> <h2>[next]</h2> <ol> <li><strong>][TEST 6] PG NEW jobs.cshtml </strong></li> <ol> <li>] draft page to display the results</li> <li>] write script to process returned results</li> <li> </li> </ol></ol> <div><hr /></div> <div><ol> <li><strong>[2013-11-19] </strong><strong>i] DAPP careers UPDATE</strong></li> <ol> <li>x] align cats (listings,resumes,cover letters) under s.o,y,p,e,l </li> </ol> <li><span style="text-decoration: line-through;">x] use server side function to pull xml </span></li> <li><span style="text-decoration: line-through;">x] use jq to process xml for results</span></li> </ol> <div><hr /></div> <div> <p>[EXAMPLE - process XML results]</p> <p><script></p> <p>var xml = "<rss version='2.0'><channel><title>RSS Title</title></channel></rss>",</p> <p> xmlDoc = $.parseXML( xml ),</p> <p> $xml = $( xmlDoc ),</p> <p> $title = $xml.find( "title" );</p> <p>// Append "RSS Title" to #someElement</p> <p>$( "#someElement" ).append( $title.text() );</p> <p>// Change the title to "XML Title"</p> <p>$title.text( "XML Title" ); </p> <p>// Append "XML Title" to #anotherElement</p> <p>$( "#anotherElement" ).append( $title.text() );</p> <p></script></p> <p><?xml version="1.0" ></p> </div> </div>