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:

<?php
$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

Status:Active» Needs review
StatusFileSize
new1.82 KB

Straightforward, will commit ASAP.

Status:Needs review» Fixed

Committed.

Status:Fixed» Closed (fixed)

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