Closed (outdated)
Project:
Feeds
Version:
7.x-2.0-alpha8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2014 at 11:23 UTC
Updated:
9 Feb 2026 at 19:27 UTC
Jump to comment: Most recent
It looks like importing URLs and mapping them to the "Feed source" field does not leave that field in a useful state for importing articles from RSS.
Note: The imported URLs point at home pages, not necessarily the exact feed URL.
Comments
Comment #1
twistor commentedWhat does "The imported URLs point at home pages, not necessarily the exact feed URL." mean?
Comment #2
crantok commentedIt means that the URL that is imported in to the "Feed source" field may contain a home page URL e.g. example.com, rather than the feed URL, e.g. example.com/feed
I am using the following setting in my RSS feed importer (that uses the imported URL):
Comment #3
crantok commentedOops, forgot to set active again.
Was that enough information?
Comment #4
megachrizIs the "Import on submission" option (from "Basic settings") activated on the RSS importer?
If so, it's possible the import isn't scheduled when a "Feed importer" node is created programmatically.
Comment #5
crantok commentedYes, "Import on submission" is checked.
Comment #6
megachrizForget the "Import on submission" option. That is used to start the import directly when a node is created, which you probably don't want anyway.
When I scan through feeds.module I see that in
feeds_node_insert()an import of a feed node is only scheduled when$node->feedsis available. Looking further, I see the following comment infeeds_node_validate():This leaves me to think that the variable is only set when submitting the feeds import form manually.
There is also a static variable called "feeds_node_last_feeds", where
$node->feedsis eventually set from infeeds_node_presave(), but this static variable seem to be only set infeeds_node_validate().Comment #7
twistor commented@MegaChriz, see FeedsNodeProcessor::setTargetElement(). When mapping to feeds_source, the $node->feeds[] array gets populated.
Comment #8
aaronpinero commentedHello,
It is unclear to me if there was a resolution on this issue. I'm having the same issue. I cannot seem to get the import attached to the Feed importer nodes to run when those nodes are created, even when I have the "Import on submission" option checked for the importer. I would very much like to have the feed import run as soon as the feed importer nodes are created.
Thank you.
Comment #9
bluegeek9 commentedDrupal 7 reached end of life and the D7 version of Feeds is no longer being developed. To keep the issue queue focused on supported versions, we’re closing older D7 issues.
If you still have questions about using Feeds on Drupal 7, feel free to ask. While we won’t fix D7 bugs anymore, we’re happy to offer guidance to help you move forward. You can do so by opening (or reopening) a D7 issue, or by reaching out in the #feeds channel on Drupal Slack.
If this issue is still relevant for Drupal 10+, please open a follow-up issue or merge request with proposed changes. Contributions are always welcome!