You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a proof of concept in the form simple app n FEC-CMS that works to query the API and return open jobs every time a user navigates to about/careers. Right now this is a separate app but could be added to the main views.py if that makes more sense for any reason. A PR will be created for this shortly
We currently have a Python script that runs via cron job to query USAJobs API and return all open FEC positions. It creates a table that is then included in the current /pages/jobs/jobs.shtml.
A simpler way to do this would be to use jQuery/AJAX to query the api on page-load. We originally had this solution on our website but it would not work consistently across IE/versions and various Windows configurations (even with polyfills and/or IE-hacks). Some members of the FEC HR department had laptops that that defaulted to IE-7 or 8 when logged into the network (to support internal legacy applications). Although it is now widely considered OK to abandon support for LTE IE8, when members of HR cannot see jobs on the jobs page, they are not very responsive to this argument. So we switched to the current Python/ cron jobs solution.
The text was updated successfully, but these errors were encountered:
Sounds good. I think this can all be handled server-side. What about making it an inclusion tag, which can then be added as a StaticBlock on the ResourcePage template?
I have a proof of concept in the form simple app n FEC-CMS that works to query the API and return open jobs every time a user navigates to about/careers. Right now this is a separate app but could be added to the main views.py if that makes more sense for any reason. A PR will be created for this shortly
We currently have a Python script that runs via cron job to query USAJobs API and return all open FEC positions. It creates a table that is then included in the current /pages/jobs/jobs.shtml.
A simpler way to do this would be to use jQuery/AJAX to query the api on page-load. We originally had this solution on our website but it would not work consistently across IE/versions and various Windows configurations (even with polyfills and/or IE-hacks). Some members of the FEC HR department had laptops that that defaulted to IE-7 or 8 when logged into the network (to support internal legacy applications). Although it is now widely considered OK to abandon support for LTE IE8, when members of HR cannot see jobs on the jobs page, they are not very responsive to this argument. So we switched to the current Python/ cron jobs solution.
The text was updated successfully, but these errors were encountered: