Would you like to display our latest jobs on your site?
Insert one of the following snippets in your page's HTML code, in the position where the jobs should appear:
- Get latest 5 jobs from all categories, posted in the past 7 days, in random order:
<script src="http://board.careersrn.com/api.php?action=getJobs
&type=0&category=0&count=5&random=1&days_behind=7&response=js" type="text/javascript"></script>
<script type="text/javascript">showJobs('jobs-container', 'jobs-list');</script> - Get last 10 jobs for Registered Nurses, posted in the past 15 days, ordered by publish date (newest on top):
<script src="http://board.careersrn.com/api.php?action=getJobs
&type=fulltime&category=registered-nurses&count=10&random=0&days_behind=15&response=js"
type="text/javascript"></script>
<script type="text/javascript">showJobs('jobs-container', 'jobs-list');</script> - Get latest jobs published by a company (e.g. Google):
<script src="http://board.careersrn.com/api.php?action=getJobsByCompany
&company=google&count=10&response=js" type="text/javascript"></script>
<script type="text/javascript">showJobs('jobs-container', 'jobs-list');</script>
The parameters you can use when calling the API, are:
- action: "getJobs" - all jobs / "getJobsByCompany" - a single company's jobs
- category: "0" - all / "registered-nurses" - Registered Nurses / "nurse-managers" - Nurse Managers / "nurse-practitioners" - Nurse Practitioners / "lvn-lpn" - LVNs/LPNs / "cna" - CNAs / "allied-health" - Allied Health / "health-administration" - Health Administration ;
- count: number of jobs to display;
- random: "1" - display randomly / "0" - display ordered by publish date (newest on top);
- days_behind: get only jobs posted in the past X days (type "0" if you don't want to limit this);
- response: "js" - returns jobs as JavaScript code / "json" - returns only a JSON string / "xml" - returns an XML.
Use CSS to style the list:
ul.jobs-list {
list-style-type: none;
margin: 0;
padding: 0;
}
ul.jobs-list li {
margin-bottom: 5px;
}



