Für Ihre Seite
Wollen Sie Ihre letzten Anzeigen auf Ihrer Seite anzeigen lassen?
Hier haben Sie zwei Möglichkeiten, die sie nutzen können:
- Scripte zum einbauen: This widget is used to retrive jobs based on their category, posting duration, and job-type. You can also configure on how many jobs you want to display and order them on the basis of their publication date or even show randomly.
Eine Liste der Parameter für das jeweilige Script zum installieren auf der Seite:- action: "getJobs" (Für alle Jobs)
- type: "0" für alle; "fulltime" für Vollzeit; "parttime" für Teilzeit und "freelance" für Freiberuflich
- category: "0" - all / "programmers" / "designers" / "administrators" / "managers" / "testers" / "editors"
- count: Anzahl der Jobs, die angezeigt werden sollen.
- random: "1" - zufällig anzeigen oder "0" - geordnet nach dem Datum der Veröffentlichung (neuestes oben) anzeigen;
- days_behind: get only jobs posted in the past X days (type "0" if you don't want to limit this)
- response: "js" - gibt den Code als Javascriptcode zurück / "json" - gibt JSON-String zurück / "xml" - gibt XML zurück.
Hier eine paar Biespielscripte:- Fügen Sie einfach den folgenden Scriptcode auf Ihrer Seite ein, an die Posotion wo die Jobs erscheinen sollen.
- The following code displays latest 5 jobs from all categories of all types posted in last 7 days in random order:
<script src="http://www.zeitarbeits-firma.de/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>
- Get Jobs by Company Widget: This widget is used to retrive jobs based on their company and their count.
List of parameters to be used in this implementation:- action: "getJobsByCompany" - a single company's jobs
- count: number of job ads to display
- response: "js" - returns jobs as JavaScript code / "json" - returns only a JSON string / "xml" - returns an XML
A code for this get latest 10 jobs published by Google:<script src="http://www.zeitarbeits-firma.de/api/api.php?action=getJobsByCompany
&company=google&count=10&response=js" type="text/javascript"></script>
<script type="text/javascript">showJobs('jobber-container', 'jobber-list');</script>
Nutzen Sie CSS um das Aussehen der Jobs auf Ihrer Seite anzupassen:
Sie können CSS so einstellen, dass es zu Ihrer Seite passt. Hier ist ein Biespielcode:ul.jobber-list {
list-style-type: none;
margin: 0;
padding: 0;
}
ul.jobber-list li {
margin-bottom: 5px;
}
Note:
- You can notice that there are two script codes for each implementation, the script which points to the api.php class can be included anywhere in your site but the second code should appear at the place where you want to display the jobs.
- There is a live demo script using the api code. Test it now. You can view its source in browser to check its implmentation. You can edit it live to test it before implementing the code live elsewhere.

