Created
August 15, 2014 14:59
-
-
Save stevenjohn/5d74ea0107a34f9c5ce3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<SearchBoard> | |
<Name>Reed</Name> <!-- The name of the board --> | |
<SearchUrl>https://www.reed.co.uk/recruiter/cvsearch/results</SearchUrl> <!-- URL of form action --> | |
<SearchMethod>GET</SearchMethod> <!-- Form method (GET|POST) --> | |
<Logo>//yutalent.co.uk/images/stories/Portal_logos/reed.jpg</Logo> <!-- Logo image path --> | |
<Fields> <!-- list of the fields from the form of the board --> | |
<Field> | |
<FieldName>Permanent</FieldName> <!-- The "name" property of the form input --> | |
<SourceFieldName>job-type</SourceFieldName> <!-- the var from our form (not required) --> | |
<DefaultValue>false</DefaultValue> <!-- default value (if the value was not specified or not specied SourceFieldName) --> | |
<Mappings> <!-- here we can map the value from our form with the value of board form --> | |
<Mapping> | |
<Comparison>=</Comparison> <!-- that means that the value specified in CompareWith should be equal --> | |
<CompareWith>PF</CompareWith> <!-- value from our form --> | |
<FieldValue>true</FieldValue> <!-- value that should be in boards form if condition is true --> | |
</Mapping> | |
<Mapping> | |
<Comparison>=</Comparison> | |
<CompareWith>PP</CompareWith> | |
<FieldValue>true</FieldValue> | |
</Mapping> | |
<Mapping> | |
... | |
</Mapping> | |
</Mappings> | |
</Field> | |
<!-- ... --> | |
<Field> | |
<!-- ... --> | |
</Field> | |
<Options> <!-- extra fields --> | |
<Option> | |
<Type>Select</Type> <!-- type of the field (could be "Select", "Text", "Hidden", "Checkbox") --> | |
<Title>Qualifications</Title> <!-- title that will be displayed --> | |
<Name>MinimumQualification</Name> <!-- "name" of the input --> | |
<Options> <!-- Options (this is for "Select" type only) --> | |
<Option> | |
<Title>No minimum qualification</Title> | |
<Value></Value> | |
</Option> | |
<Option> | |
<Title>University degree</Title> | |
<Value>1</Value> | |
</Option> | |
<!-- ... --> | |
<Option> | |
<!-- ... --> | |
</Option> | |
</Options> | |
</Option> | |
<Option> | |
<Type>Checkbox</Type> | |
<Title>Include candidates ineligible to work in the UK</Title> | |
<Name>IncludeIneligible</Name> | |
<Value>true</Value> | |
</Option> | |
<Option> | |
<Type>Text</Type> | |
<Title>Some text field</Title> | |
<Name>SomeTextField</Name> | |
<Value></Value> | |
</Option> | |
<Option> | |
<Type>Hidden</Type> | |
<Title>Some hidden field</Title> | |
<Name>SomeHiddenField</Name> | |
<Value>1</Value> | |
</Option> | |
<!-- ... --> | |
</Options> | |
</SearchBoard> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment