Site Widgets
Embed live IT jobs on your website - fast, flexible, and always up to date
ITPro.lk Site Widgets allow recruiters and tech companies to display real-time job vacancies directly on their own websites. No manual updates, no duplicated postings — your careers page stays automatically in sync with ITPro.lk.
Built for modern hiring teams and developers, these widgets work equally well for company career pages, startup websites, blogs, and tech communities.
- Zero maintenance – job listings update automatically
- Extended reach – amplify your ITPro.lk job ads beyond the platform
- Flexible API – JS, JSON, or XML responses
- Recruiter-friendly – no ATS or backend integration required
- Developer-ready – simple parameters, predictable output
1. Jobs by Company Widget
Ideal for company career pages. Display all active job vacancies published under your company name on ITPro.lk.
This widget is perfect if you want a clean, modern careers page without building or maintaining a full recruitment system.
Supported parameters
- action:
getJobsByCompany– retrieve jobs for a single company - count: number of job ads to display
- response:
js(recommended) /json/xml
Example: Display latest 10 jobs from Rightmo Web Solution
<script src="https://itpro.lk/api?action=getJobsByCompany
&company=Rightmo Web Solution
&count=10
&response=js" type="text/javascript"></script>
<script type="text/javascript">
showJobs('itpro-container', 'itpro-list');
</script>
View live demo
2. Jobs Listing Widget
A powerful and flexible widget for displaying jobs across ITPro.lk using advanced filters such as category, job type, freshness, and display order.
This widget is commonly used on tech blogs, community websites, startup landing pages, and internal dashboards.
Supported parameters
- action:
getJobs– retrieve jobs across ITPro.lk - type:
0(all) /fulltime/parttime/freelance - category:
0(all) or specific category IDs - count: number of job ads to display
- random:
0newest first /1random order - days_behind: limit results to jobs posted in last X days
- response:
js/json/xml
Sample implementations
-
Latest 5 full-time internship jobs posted in the last 10 days (newest first):
<script src="https://itpro.lk/api?action=getJobs &type=fulltime &category=34 &count=5 &random=0 &days_behind=10 &response=js" type="text/javascript"></script> <script type="text/javascript"> showJobs('itpro-container', 'itpro-list'); </script>
-
Latest 5 jobs from all categories posted in the last 7 days (random order):
<script src="https://itpro.lk/api?action=getJobs &type=0 &category=0 &count=5 &random=1 &days_behind=7 &response=js" type="text/javascript"></script> <script type="text/javascript"> showJobs('itpro-container', 'itpro-list'); </script>
Styling & Customization
Widgets are intentionally unstyled by default, giving you full control to match your website’s branding and design system.
ul.itpro-list {
list-style-type: none;
margin: 0;
padding: 0;
}
ul.itpro-list li {
margin-bottom: 0.35em;
}
Implementation Notes
-
Each widget requires two script blocks:
the API script (can be loaded anywhere) and the
showJobs()call (must appear where jobs are rendered). - A live demo is available. Test the widget and inspect the source before deploying.
ITPro Widgets are built to support modern, distributed hiring — connect your website directly to Sri Lanka’s IT job ecosystem.