This patch adds support for importing node exports from file. It works well for me, but if somebody could sanity check my work I'd appreciate it.

CommentFileSizeAuthor
export.inc_.patch1.72 KBJames Andres

Comments

quicksketch’s picture

Don't already have this in the contrib/content_copy.inc file?

James Andres’s picture

Yes, but content_copy module only imports and exports CCK types and field definitions. node_export / export module (for some reason the maintainer changed the name of the module), exports the actual nodes.

The difference, I guess, is because sites not using CCK might still want to export their site content, without being forced to install CCK.

quicksketch’s picture

Ahhh, *node* exports, not content type exports. Gotcha. It's worth noting the content_copy also handles settings provided by other modules too though (like Upload, Comment, Fivestar, or any other modules that put settings on admin/content/node-type/[x]). Sorry for the confusion!

James Andres’s picture

Status: Needs review » Fixed

Committed this patch, it seems there are no complaints? :-)

James Andres’s picture

Status: Fixed » Closed (fixed)