0

I'm trying to use Feeds 8.x-3.x-dev on Drupal 8.4. I've created a feed type (eg. News Feed) and I'm trying to set the field mappings, but I get an empty list with no way to add anything to it:

enter image description here

The target content type is a custom one, that's similar to Articles, but it also contains some extra fields (such as the source of the feed).

If I add a feed URL to this type and try to import it, it obviously fails:

Test Source has been created.

Warning message

An entity of type "content" failed to validate with the following errors:

Title (title): This value should not be null.

News GUID (field_news_guid): This value should not be null.

News Link (field_news_link): This value should not be null.

News Source (field_news_source): This value should not be null.

Please check your mappings.

Error message

Failed importing 20 News.

Most tutorials and references online talk about the module for Drupal 7, which looks significantly different from what I see.

Is there something I'm missing or is this mapping feature currently broken?

Edit: I am aware of the pre-release status of this module, but I'm trying to evaluate it to see what works and what doesn't. Downgrading to Drupal 7 isn't an option, so I have to make do with what I have for 8. If not Feeds, is there any alternative for a simple RSS/Atom feed import? Aggregator would work just fine for my needs, but how do I get it to import the contents as nodes?

Edit: I decided to downgrade to Drupal 7.

2
  • Its still in the Development, Please don't prefer this Module Oct 23, 2017 at 7:42
  • I am aware of that, but I just need to know what is working and what isn't.
    – aalaap
    Oct 23, 2017 at 7:52

2 Answers 2

1
  1. First, select a target to map to. Select a target
  2. This will result into a list of sources to appear. Select one of these sources. Select a source

Notes:

  • The UI for CSV parser is still incomplete. See https://www.drupal.org/node/2669974
  • If the sources list does not appear after selecting a target, you may be facing javascript issues. In this case, check with a debugger which scripts fails. In D7, the jQuery Update module (or how that modules was configured) sometimes was the culprit.
  • If there are no targets appearing, try to rebuild caches.
  • Currently there is a bug with updating items if the target 'Feeds item' is not in the list. Be sure to map to that target if you not only want to insert new items, but also update existing ones. See https://www.drupal.org/node/2857692.
3
  • Back to Drupal 8! :-)
    – aalaap
    Oct 23, 2017 at 13:17
  • Somehow my answer was already saved while I was still typing it. :o
    – MegaChriz
    Oct 23, 2017 at 13:22
  • Haha.. that first screenshot was all I was missing! Thanks!
    – aalaap
    Oct 23, 2017 at 13:35
0

I had the exact same issue as what the OP reported but in my case it was due to missing files from the module that somehow didn't transfer in the push to production. Make sure you have the Target directory in the feeds module feeds/src/Feeds/Target as well as in feeds/src/Plugin/type/Target.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.