开发者

Drupal6 - Node import

Hi

I have开发者_StackOverflow中文版 used Views Bonus Pack to export a mass of node as a csv file, I would like to update these nodes and import to the drupal so as to REPLACE the existing node(not creating new node).

Which modules or method can do with it("import and REPLACE the existing node"), thanks


You can do this with the Feeds Module. Here is a link to its Documentation.

Feeds is pretty easy to use. It will allow you to choose a node type, map fields between the CSV and your content type, allow you to replace the nodes, and more.

  • First you need to create a new importer at "www.example.com/admin/build/feeds/create"
  • Then you need to configure the settings at "www.example.com/admin/build/feeds/edit/NAME_OF_IMPORTER"
  • Basically to replace nodes for Parser you want CSV Parser, for Processor you want Node processor, and most likely File Upload for the Fetcher setting.
  • Click on the "Mapping" link next to Node processor to setup your desired CSV->Content type field mapping
  • Import your CSV at "www.example.com/import/NAME_OF_IMPORTER"

You may need to tweak a few more specific settings, but this module should do what you are asking.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜