最好的方法收集,然后导入数据到drupal? [英] Best way to gather, then import data into drupal?

查看:195
本文介绍了最好的方法收集,然后导入数据到drupal?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Drupal构建我的第一个数据库驱动的网站,我有几个问题。

I am building my first database driven website with Drupal and I have a few questions.


  1. google docs excel电子表格与我想要最终能够从网站(导入后)查询的所有数据。

  1. I am currently populating a google docs excel spreadsheet with all of the data I want to eventually be able to query from the website (after it's imported). Is this the best way to start?

如果这不是最好的方式开始你会推荐什么?

If this is not the best way to start what would you recommend?

我的计划是填充电子表格,然后通过CCK节点将它作为csv导入到mysql数据库。

My plan is to populate the spreadsheet then import it as a csv into the mysql db via the CCK Node.

我已经看到过两种方法。

I've seen two ways to do this.

http://drupal.org/node/133705 (将数据导入CCK节点)

http://drupal.org/node/133705 (importing data into CCK nodes)

http://drupal.org/node/237574 (使用电子表格/ csv而不是SQL插入语句插入数据)

http://drupal.org/node/237574 (Inserting data using spreadsheet/csv instead of SQL insert statements)

基本上我的问题是什么是最好的收集方式,然后将数据导入drupal?

Basically my question(s) is what is the best way to gather, then import data into drupal?

任何帮助,建议。

推荐答案

http://groups.drupal.org/node/21338

过去,当我我做了这个我只是写代码来做cron运行(参见 http://drupal.org/project/phorum 一个示例框架,你可以剥离和构建,以做你所需要的)。

In the past when I've done this I simply write code to do it on cron runs (see http://drupal.org/project/phorum for an example framework that you could strip down and build back up to do what you need).

如果我现在这样做,我可能会使用 http://drupal.org/project/migrate 模块,其中的理念是进入MySQL,查看数据,通过GUI导入。

If I were to do this now I would probably use the http://drupal.org/project/migrate module where the philosophy is "get it into MySQL, View the data, Import via GUI."

这篇关于最好的方法收集,然后导入数据到drupal?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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