Unable to consume a feed / missing data

Created on 22 September 2015, about 9 years ago
Updated 4 November 2024, 20 days ago

Hi guys,

I'm unable to consume the following feed:
http://career.neuvoux.com/xml/vacancy/list.xml

I've followed the steps here (the example works fine):
http://www.wunderkraut.com/content/views-xml-backend

And then changed all the parameters to match the feed I need to use, but nothing is showing up.

Here is the view I have created:

$view = new view();
$view->name = 'vacancy_xml';
$view->description = '';
$view->tag = 'default';
$view->base_table = 'xml';
$view->human_name = 'Vacancy XML';
$view->core = 7;
$view->api_version = '3.0';
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */

/* Display: Master */
$handler = $view->new_display('default', 'Master', 'default');
$handler->display->display_options['title'] = 'Vacancy XML';
$handler->display->display_options['use_more_always'] = FALSE;
$handler->display->display_options['access']['type'] = 'none';
$handler->display->display_options['cache']['type'] = 'none';
$handler->display->display_options['query']['type'] = 'views_query';
$handler->display->display_options['query']['options']['xml_file'] = 'http://career.neuvoux.com/xml/vacancy/list.xml';
$handler->display->display_options['query']['options']['row_xpath'] = '/Vacancies/Vacancy/Versions/Version';
$handler->display->display_options['query']['options']['show_errors'] = 1;
$handler->display->display_options['exposed_form']['type'] = 'basic';
$handler->display->display_options['pager']['type'] = 'full';
$handler->display->display_options['pager']['options']['items_per_page'] = '10';
$handler->display->display_options['style_plugin'] = 'default';
$handler->display->display_options['row_plugin'] = 'fields';
/* Field: Title: Text */
$handler->display->display_options['fields']['text']['id'] = 'text';
$handler->display->display_options['fields']['text']['table'] = 'xml';
$handler->display->display_options['fields']['text']['field'] = 'text';
$handler->display->display_options['fields']['text']['xpath_selector'] = 'Title';
$handler->display->display_options['fields']['text']['multiple'] = 0;

/* Display: Page */
$handler = $view->new_display('page', 'Page', 'page');
$handler->display->display_options['path'] = 'vacancy-xml';

I'm a bit stumped, I cannot work out why it's now working.

Any help very much appreciated.

💬 Support request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Grissel

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024