Custom XML feeds require rules to filter client jobs down to a specific subset. Some considerations regarding custom XML feeds include the following:
The rule syntax must be exact.
Field names are listed in lowercase.
Values are identified in quotation marks.
A colon (:) separates the field names and values.
Boolean operators are represented in ALL CAPS.
Example rules include:
country:"US"
title:"Manager"
title:("Marketing" AND "Manager")
department:("Plant" OR "Operations")
This site and others are a good reference for additional information: http://www.lucenetutorial.com/lucene-query-syntax.html
Simple Custom XML Feed
In this simple example for a custom feed for the Jooble job board, only jobs with "manager" in the title are included.

Generate a simple custom XML feed:
- Start with a standard feed.
- Choose Add Rule.
- In the numbered edit box, enter the rule.
- For our example, enter title manager.
- Ensure that Activate Rule is set to YES.
- Save and run the feed to test.
- Note that FTP SETTINGS are not required. This section is only configured to schedule the delivery of XML feeds.
In another example, only English jobs would be included by using this rule: joblocale: "en_US".
- Normally all languages are provided unless there is a logistical issue. For example, there is a job board in Canada that must only receive French language jobs by using this rule: joblocale: "fr_CA".
- If the customer wished to deliver only the English jobs in the U.S., this rule could be used: joblocale: "en_US" AND country: "US".
Custom XML Feed with Multiple Rules
This example shows how to list jobs in Chicago first in the feed, then jobs in Los Angeles, then jobs in New York. The same campaign code is used for all jobs.

Custom XML Feed with Multiple Rules and Campaign Codes
The previous example has been modified. It still lists jobs in this order: Chicago, LA, New York City. But now each set of jobs has its own campaign code associated with it, in addition to the Campaign code assigned to the entire job at the "Feed Token" level. (Note that Rule Tokens override Feed Tokens.)
Also shown in this example: The blank rule at the bottom will add all other active jobs to the feed. These jobs will include the original Campaign code.
Note that jobs are never listed twice in a feed. So jobs in Chicago, LA, and New York will not appear again for the last rule.

Custom XML Feed with Keywords
In some situations, the customer may need to include a keyword term or job code in the job requisition so that a rule can be written on it. This requires minimal effort by the recruiter.
Note that the keyword is visible to candidates on the career site, so put it at the bottom of the job description.
Exclusion can be used to send all job except for a specific set of jobs. In the figure that appears below, the keyword "EX:OUT" was used in the job description to exclude this job from the feed.


Custom XML Feed Creation: Rules
The figure, Custom XML Feed Creation: Exclusion Rules, shows how the rule is written for the first exclusion example.

Custom XML Feed with Multiple Variables
The figure, Custom XML Feed Creation: Multiple Variables, shows how to use rule strings with multiple variables using "AND NOT".
"SF:LINK" is another example of using a code in the job description, for example, to designate jobs that are to be distributed to LinkedIn.

Custom XML Feed with Country Keywords
In the figure below, the keyword "#SAPSFSF" is used in the job description. For the #SAPSFSF jobs, US jobs are listed first, then India, and then China.

