WP CSV to Database – Insert CSV file content into WordPress database

説明

WP CSV to Database plugin allows you to insert CSV file content into WordPress database. You can selectively insert data into a particular database table.

You can also export any WordPress database table content to a CSV file using this plugin.

Useful when you want to bulk upload data from your CSV file (example: product details) to the WordPress database in one go.

Bulk data import from CSV (Microsoft Excel) file. Bulk data export from your database to CSV file

For detailed documentation please visit the CSV to DB Plugin page

使用法

Access the plugin’s UI in the WordPres dashboard under the “Settings -> WP CSV/DB” menu after installation. Read the “Guide” tab for instructions.

インストール

  • Go to the Add New plugins screen in your WordPress admin area
  • Click the upload tab
  • Browse for the plugin file (wp-csv-to-db.zip)
  • Click Install Now and then activate the plugin

FAQ

  1. Can this plugin be used to bulk upload product details for the WP eStore plugin? Yes
  2. Can this plugin be used to dump data into any WordPress database table? Yes.

評価

Buggy and lacking important features

1. no option to choose csv dialect. You have to have "," delimeter 2. No data conversion options. You want an empty field to be null instead of zero (or "")? Can't do it with this plugin. 3. no flexibility. csv table must have EXACTLY the same number of columns than the DB table in EXACTLY the same order. No header matching or column skipping. 4. Dubious errors. Clicking "Import to DB" I get "problem with database query" error because of duplicate entry. Clicking again I get instead "Starting row value exceeds the number of entries being updated to the database from the .csv file". Clicking "Reload table preview" I get afterwards again the first error when I try to import. So which of the two shall I believe? It finally worked with the "update" checkbox (but only after clicking the "table preview" directly before), even though there was nothing to update but an empty table to be filled. Conclusion: Usage of this plugin is highly error prone because depending on your external data structure you might easily mess up the columns. The upload form seems to have some bugs. Not knowing what's under the hood, I'm afraid using this plugin on live data might destroy a lot in the worst case. The idea is of this plugin is nice, but I'll probably end up writing my own python script instead of using this plugin.

Best CSV importer around

This is one of the best CSV importers I've found. I created a couple of new tables for a client and I needed a way to import CSV content into these tables. I tried a number of other components, but they only worked for stock items (posts, pages, comments, etc). This component does that and more. It will import data into your custom tables and it doesn't so cleanly and easily. This has saved me hours of coding and it has a clean, simple interface that will not overburden my clients with jargon. If you're looking to import CSV files regularly or just to populate data from the get go, this is the one you're looking for.

Awesome plugin!

Very good! Works like a charm and saves a lot of time. Thank you for making this awesome plugin!

Not Working with qoutes (Solved)

Current version doesn't support files with escape characters. you can add this features by adding following line in main.php file: $row = array_map(function($v) { return esc_sql($v) ;}, $row) ; Add this just line After this comment: //If. csv column count matches db column count
8件のレビューをすべて表示

貢献者と開発者

WP CSV to Database – Insert CSV file content into WordPress database はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

変更履歴

2.6

  • Updated the plugin to be compatible with PHP7+

2.5

  • The jquery UI css file is loaded over the same protocol as the site.

2.4

  • Added support for files with escape chars. Thanks to @alexuidian

2.3

  • Updated the code to address the “This is not a valid .csv file extension” error. Thanks to @sirhaver.

2.2

  • Fixed an issue with the export to CSV function.

2.1

  • WordPress 4.1 compatibility

2.0

  • Complete new revamped architecture for this plugin. It is now a lot more user friendly and has more features.

1.8 and before

  • The old versions with old architecture can be downloaded using the following link
    https://downloads.wordpress.org/plugin/wp-csv-to-database.v1.8.zip