One of the questions we are often being asked – which method of delivery is better?
XML is used to describe data and is the most flexible way to create information formats and share structured data online. On the other hand, API is a set of functions and procedures that allow one application to access features of other applications. If put it simple: APIs are a set of structures that enable two separate software to communicate quickly, smoothly and more efficiently between each other.
Let’s look into pros and cons of each delivery method in terms of job scraping services.
JOBS IMPORT VIA XML
posted/deleted jobs are handled by its presence/absence in the feed or by special status tags fast and efficient way to bulk import moderate number of jobs only new/deleted job updates can be provided for large feeds or real-time processing full control over the import process and schedule push events with notifications are possible, indicating jobs are ready to download
the recipient should identify which job to roll / expire / delete themselves on their side the sender can’t track if the feed was processed and if there are import errors