We rebuilt our website from scratch and are still updating some extensions and pages. Having a problem? Sign in and open a support ticket or contact us.
JoomBoost

CSV import

The CSV import adds many jobs at once from a CSV file, for example a spreadsheet export or a file from your own systems. Open Jobs > Job Import. The screen has two rows of tabs: the source (CSV Upload or CareerJet) and the part (Import, Presets or History). This page is about CSV Upload. For CareerJet, see CareerJet.

Quick start

  1. Click Download sample CSV to get a file with the right columns, jobs_sample.csv.
  2. Replace the sample rows with your jobs. Keep the header row.
  3. Upload the file, click Parse CSV, then Auto-map headers and Next.
  4. Check the options and click Start import.

Step 1: Upload

Option What it does
Import source Upload from computer, or File on server for a file that is already on your server
CSV file The file to upload. The size limit is PHP's upload_max_filesize
Server file Pick a .csv, .tsv or .txt file from the Media manager folders, for example files/. The file stays on the server, so you can import the same path again
Auto-detect settings Samples the file to guess the delimiter, enclosure and header row
Delimiter Comma, semicolon, tab or pipe
Enclosure Double quote or single quote
First row is header Leave Yes when the file has a header row
Load a saved preset Fills in all settings and the column mapping from a preset

Click Parse CSV. The first rows are shown on the next screen so you can check the file.

Upload & import appears when you choose a preset. It runs the whole import in one step with the preset's mapping and options.

Step 2: Map columns

Each CSV column has a Map to list and Sample values. Columns set to — Do not import — are ignored. Auto-map headers guesses the mapping from the column names.

You can map:

  • Title, Description, the external application URL, the address and the latitude and longitude,
  • the start and end dates (Start publishing, Finish publishing) and the job's From and Date to dates,
  • External reference, meta description and meta keywords, hours per week, language and published state,
  • Company, Place, Industry / field, Time type, contract type and length of employment,
  • Salary (min), the maximum, the currency, the period and the display,
  • the custom fields of jobs.

Company, place, field, time type, contract type and length are lookups: the importer finds the existing entry by name. Tick Create if missing next to a lookup column to create entries that do not exist yet. A place or field can be given with its parent, so the nesting is kept.

Step 3: Options

Option What it does
Default values A company, place, field and time type for rows where the column is empty or not mapped
Default published state Published or unpublished
Default language * for all languages or a tag such as en-GB
Match existing jobs by External reference (xreference), Title or a custom field such as a job ID
If a matching job already exists Skip duplicate rows or Update the existing job
Meta description Generate from the description when empty
Rows per batch How many rows are processed in one step

Save mapping as preset stores the settings, the mapping and the options under a Preset name, so the next import takes one click.

Every row needs a title, a company, a place, a field and a time type, from the file or from the defaults. Rows without them are listed as errors.

Step 4: Run

The import runs in batches and shows Total, Imported, Updated, Skipped and Errors. Cancel import stops it. When it is done, use View imported jobs or View import history.

What imported jobs look like

  • Created by is the user who ran the import.
  • When a published row has no Start publishing, the job goes online at the time of the import.
  • When a row has no Finish publishing, the job never expires. Map an end date, or use Activate (from-to) afterwards, see Jobs.
  • No emails are sent for imported jobs.
  • With the map feature on, new places are geocoded.

Presets and history

Presets lists your saved presets. You can rename them, add a Description or unpublish them. Change the mapping by loading the preset in the wizard and saving it again.

History lists every import with its date, file, user, preset and counts. Open one to see the row errors. Imports from the command line show as "CLI".

Run an import from the command line

The Console - Easy Jobs Manager plugin adds a command to Joomla's console. It runs a saved preset against a file on the server, so a cron job can import a feed every night:

php cli/joomla.php easyjobsmanager:import:csv --preset="Nightly feed" --file=files/jobs.csv
Option What it does
--preset The preset id, or its exact title (not case-sensitive). Required
--file The path of the CSV file from the site root, inside a Media manager folder. Required
--user The id of the user credited with the import. Default: the first Super User
--chunk Rows per batch. Default: 100

The command ends with exit code 0 when all went well, 1 when some rows had errors and 2 when nothing was imported. The file is copied before it is read, so the original stays in place.

All Extensions