Comments

twistor’s picture

Priority: Critical » Normal
janebootydoe’s picture

Issue summary: View changes

Is this more of a support request for Views? Can anyone chime in and say if this even possible? Taxonomies are another option but IIRC you need to make a new importer for each feed. I'm looking to use hundreds of feeds so that is a lot of time wasted.

MegaChriz’s picture

Status: Active » Fixed

If you attached the importer to a content type, here is what you can do:

  1. Add a entityreference field to your feed item content type. Call the field for example "Parent" (field_parent). Make sure the entityreference targets the Feed content type.
  2. Map "Feed node: Node ID" to "Parent (Entity reference by Entity ID) (field_parent:etid)".

If you use the standalone importer instead, there is not yet a way to import the RSS Feed's channel information. It looks like #1689374: Map feed Title and feed URL deals with this issue, though I'm not sure.

janebootydoe’s picture

Thank you MegaChriz. I would have never figured that out.

Do you know how I can make it display in search-result.tpl? I tried <?php print $result['node']-> field_parent[LANGUAGE_NONE][0]['url'] ?> but I get the error "Notice: Array to string conversion in include() (line 24 of C:\Bitnami\drupal-7.35-0\. . .\search-result.tpl.php)."

Status: Fixed » Closed (fixed)

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