Drupal 7节点从CSV导入 [英] Drupal 7 Node Import from CSV

查看:193
本文介绍了Drupal 7节点从CSV导入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将CS​​V中的某些内容导入 Drupal 7 。我尝试了 Feeds模块,但它不允许我将字段与我的内容类型相匹配 - 只要我能告诉 - 这是一个问题。

I'm trying to import some content from a CSV into Drupal 7. I've tried the Feeds module but it doesn't allow me to match fields to my content type—as far as I can tell—which is a problem.

以前在Drupal 6中 - 我使用了节点导入,但这在 Drupal 7 中不受支持。任何建议?

Previously—in Drupal 6—I have used Node Import but this isn't supported in Drupal 7. Any suggestions?

推荐答案

Feed模块将正常工作,您只需要执行标题工作。

The feeds module will work, you just need to do a title work.


  1. 在admin / structure / feeds / create创建新进口商

  2. 将您的解析器设置更改为使用CSV

  3. 选择节点处理器作为处理器类型中的处理器

  4. 验证您的处理器设置。选择您的内容类型。 为节点作者设置一个用户很重要。

  5. 使用CSV列中的列名称将您的列映射到Drupal 7字段。

  6. 最后,转到/ import并运行您的Feed导入。

  1. Create a new importer at admin/structure/feeds/create
  2. Change your Parser settings to use CSV
  3. Check the CSV Parser settings once saved and make sure the correct delimiter is selected
  4. Select "Node Processor" as your processor in your Processor type
  5. Verify your Processor settings. Select your content type. It is important to set a user for for the node author. There is currently a bug that will cause an error if the author is set to anonymous.
  6. Using the column names in your CSV map your columns to your Drupal 7 fields.
  7. Finally, go to /import and run your feed import.

p>

That should do it for you.

这篇关于Drupal 7节点从CSV导入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆