Migrate Plus provides plugins for core Migrate, so you can parse remote XML, JSON, CSV, or even arbitrary spreadsheet data. Just get them into your codebase and enable them. You should be doing this with composer, but I won’t judge. Add a couple of contrib modules to provide specific plugins for XML sources and convenience drush functions, and baby you’ve got a stew goin’!ġ) Download and enable migrate_plus and migrate_tools modules. Migrate in D8 core already contains all the elements you need to build a regular importer of ANYTHING into D8. What? How?ĭrupal 8 can do all the Feedsy stuff you like with Migrate module. You can copy and paste it directly from this blog post into Drupal’s admin interface. What if I told you that it’s even better: instead of clicking through endless menus and configuration links, waiting for things to load, missing problems, and banging your head against the mouse, you can set this up with one simple piece of text. What if I told you that Drupal 8 can do everything Feeds 7 can? I suppose you could extend it to choose you own entity type, map fields etc, but that seems like a lot of work for such a simple feature. It imports content into its own Aggregated Content entity, with everything in one field, and linking offsite. Unfortunately, Aggregator gives you no control over the kind of entity to create, let alone any kind of field mapping. The next great candidate is Aggregator module (in core). If you decide to use it, don’t be mad if we break it later. It’s not ready yet, but we are brainstorming about what would be the best way forward. They’re still surveying people about what feeds module should even DO in D8. Where has that functionality gone in D8? I recently had to build a podcast mirror for a client that needed this functionality, and I was surprised at what I found.įeeds module doesn’t have a stable release candidate, and it doesn’t look like one is coming any time soon. Feeds 7 made it easy (-ish) to click together a configuration that matches an RSS (or any XML, or CSV, or OPML, etc) source to a Drupal entity type, maps source data into Drupal fields, and runs an import with the site Cron. How do you import an RSS feed into entities with Drupal 8? In Drupal 6 and 7, you probably used the Feeds module.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |