task

FEATURE# 3260 - careers

step 001

[previously]

  1. *] FEATURE-3260 jobs listings 
    1. x] overview description of this feature and its development, related links
  2. *] [EXAMPLE] QUERY  
    1. http://api.indeed.com/ads/apisearch?publisher=3801732814411962&q=java
    2. &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

[currently]

  1. x] FIND + review the indeed.com api 
    1. x] # # review indeed api - 'job listings' provider
  2. x] TEST-001  the example qry
    1. x] # pass - returns XML page with 
  3. x] TEST-002 - chANGE location chilliwack, BC, country can, radius=
    1.  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
  4. x] TEST-003 - process the returned XML results
    1. x] results - FAIL
  5. *] PRB cors request RESOLUTION 
    1. x] use server side method to retreive xml results and write the results to a file on the local server 
    2. x] qry file is generated
    3. x] qry successfull
  6. x][TEST 4] TRY format=json, RESULT = PASS 
    1. x] good practice to READ the documentation BEFORE you dive into coding/ or you try it out, 2nd option was "format" 
    2. x] appended callback name to qry 
  7. x][TEST 5] JS NEW SCRIPT - "displayJobs" write the callback function, 
    1. ] displayJobs()  

[next]

  1. ][TEST 6] PG NEW jobs.cshtml 
    1. ] draft page to display the results
    2. ] write script to process returned results
    3.  

  1. [2013-11-19] i] DAPP careers UPDATE
    1. x] align cats (listings,resumes,cover letters) under s.o,y,p,e,l 
  2. x] use server side function to pull xml 
  3. x] use jq to process xml for results

[EXAMPLE - process XML results]

<script>

var xml = "<rss version='2.0'><channel><title>RSS Title</title></channel></rss>",

  xmlDoc = $.parseXML( xml ),

  $xml = $( xmlDoc ),

  $title = $xml.find( "title" );

// Append "RSS Title" to #someElement

$( "#someElement" ).append( $title.text() );

// Change the title to "XML Title"

$title.text( "XML Title" ); 

// Append "XML Title" to #anotherElement

$( "#anotherElement" ).append( $title.text() );

</script>

<?xml version="1.0" >

Details Photos Edit more

Details

ID: 3071

NAME: 3260-001-TEST

DESCRIPTION: ] test query to return (job listings) results from 'jobs listings provider', provider = indeed.com (orig.title= get-listings-from-source-into-sospep )

START DATE TIME: 2013-11-20 14:27:45

EST DURATION: 04:00:00

END DATE TIME: 2013-11-20 18:27:45

STATUS: Completed

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities