22

What's the best known way to import masses of data into Craft?

Are there tools that support the migration of content/users from say XML, JSON etc.

Steven Grant
  • 1,855
  • 13
  • 27
  • While this other question is framed around Wordpress, the answers apply to broader data import options and may be relevant here: http://craftcms.stackexchange.com/a/136/115 – Ben Parizek Jun 21 '14 at 19:58

4 Answers4

17

There is craftimport which is an 'unsupported' starting point for importing entries from an XML source.

https://github.com/clearbold/craftimport

There is also Import:

https://github.com/boboldehampsink/import

which can import from CSV sources.

Check out http://straightupcraft.com/craft-plugins for a list of current Craft plugins.

Cavell Blood
  • 693
  • 6
  • 21
Steve Adams
  • 1,671
  • 2
  • 15
  • 27
15

If you’re comfortable with PHP, Craft has some plugin APIs that make creating content relatively painless. For example, EntriesService::saveEntry().

Cavell Blood
  • 693
  • 6
  • 21
Brandon Kelly
  • 34,307
  • 2
  • 71
  • 137
11

As far as ExpressionEngine goes, it looks like Mark Reeves has cooked up a starter plugin for that purpose.

Bob Olde Hampsink made an import plugin as well that works with CSV's.

Matt Stein
  • 4,006
  • 3
  • 26
  • 57
  • 2
    And there is always the option to write a importing plugin for your specific site's needs using Craft's services. – Brad Bell Jun 12 '14 at 00:38
5

It's not mentioned above, but in my experience the FeedMe plugin is by far the best way to import content.

Cavell Blood
  • 693
  • 6
  • 21
Nathan D Huening
  • 355
  • 2
  • 10