#### YAML ##### feed_config: file: type: xml pattern: *.xml record_tag: Group1 object_tags: notice: . event: .Event contact: . image: . field_map: notice: urn: URN notice_type: Class source: Pub create_date: Pubdate text: Text text2: Sample contact: email: Email firstname: Contact surname: Contact event: title: Title event_type: Type date: Date start_time: StartTime end_time: EndTime image: urn: URN translations: notice: notice_type: BMD - Deaths: memorial source: Daily Express: de create_date: '{(\d+)/(\d+)/(\d+)}{20$3/$2/$1}' event: event_type: Funeral: funeral #### PERL ##### $feed_config = { 'object_tags' => { 'notice' => '.', 'contact' => '.', 'event' => '.Event', 'image' => '.' }, 'translations' => { 'notice' => { 'source' => { 'Daily Express' => 'de' }, 'notice_type' => { 'BMD - Deaths' => 'memorial' }, 'create_date' => '{(\\d+)/(\\d+)/(\\d+)}{20$3/$2/$1}' }, 'event' => { 'event_type' => { 'Funeral' => 'funeral' } } }, 'record_tag' => 'Group1', 'file' => { 'pattern' => '*.xml', 'type' => 'xml' }, 'field_map' => { 'notice' => { 'source' => 'Pub', 'text2' => 'Sample', 'notice_type' => 'Class', 'urn' => 'URN', 'text' => 'Text', 'create_date' => 'Pubdate' }, 'contact' => { 'firstname' => 'Contact', 'email' => 'Email', 'surname' => 'Contact' }, 'event' => { 'end_time' => 'EndTime', 'date' => 'Date', 'event_type' => 'Type', 'start_time' => 'StartTime', 'title' => 'Title' }, 'image' => { 'urn' => 'URN' } } };