I am working on a project/site that has a number of feeds that are attached to nodes. I'm trying to create a views page for the progress of these imports but I don't see an option for displaying the progress on a feeds source. I only see three fields possible: Feed node id, Imported date, and Source that are integrated into views. How feasible is it to bring the feeds import status (i.e. progressImporting)?

Comments

markwk created an issue.

MegaChriz’s picture

It should be doable, I think. You would need to write a new Views handler for it. The handler should load a FeedsSource object for which you need an importer ID and a Feed NID. The handler should therefore make sure that at least the columns 'id' and 'feed_nid' from the table 'feeds_source' are loaded.

I do not remember exactly how you would need to do that, but it was something with the additional_fields() method on the handler object that you needed to call to get extra columns available.