Fetching a feed for getting simply it's title or the contents of its CSV file requires currently much knowledge about the internals of a FeedsSource object:

$batch = $source->importer->fetcher->fetch($this);
$this->importer->parser->parse($batch, $source);

Let's wrap this functionality in a FeedsSource::preview() method. Will be needed for #651478: Mapping on import.

#1 850638-1_preview.patch1.82 KBalex_b
Members fund testing for the Drupal project. Drupal Association Learn more


alex_b’s picture

Status: Active » Needs review
1.82 KB

Straightforward, will commit ASAP.

alex_b’s picture

Status: Needs review » Fixed


Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.