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.

Files: 
CommentFileSizeAuthor
#1 850638-1_preview.patch1.82 KBalex_b

Comments

alex_b’s picture

Status: Active » Needs review
FileSize
1.82 KB

Straightforward, will commit ASAP.

alex_b’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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