Site widget

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 ads should appear:

  1. Get latest 5 jobs from all categories and all types, posted in the past 7 days, in random order:
    
    <script src="http://www.edinburghfestivaljobs.com/jobs/app/api/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('jobber-container', 'jobber-list');</script>
    
    
  2. Get latest jobs published by a company (e.g. Fringe):
    
    <script src="http://www.edinburghfestivaljobs.com/jobs/app/api/api.php?action=getJobsByCompany
    &company=fringe&count=10&response=js" type="text/javascript"></script>
    
    <script type="text/javascript">showJobs('jobber-container', 'jobber-list');</script>
    
    

The parameters you can use when calling the API, are:

Use CSS to style the list:

ul.jobber-list {
list-style-type: none;
margin: 0;
padding: 0;
}
ul.jobber-list li {
margin-bottom: 5px;
}