CSV import to wordpress

I found a script which can import csv file to wordpress. Thanks Zack for posting the original csv import script. I asked a programmer to modify the script(I am not a coder anyway :-)). Here are the changes:

  • tags support
  • multiple categories in one column

CSV sample:

wp_title|wp_post_date|wp_category|wp_content|wp_tags|field1|field2|field3….

title1|2008-05-14 23:59:59|cat1,cat2|long text content|tags1,tags2,tags3|extra field|some extra fields|other extra fields

Please use Category Slug in the csv file.

You can get the script here

4 Responses to “CSV import to wordpress”

  1. Ludo Says:

    Thank you very much for this release.

    Also, can you tell me how the header of the CSV file much look like ?
    specialy for the tags..
    Is it tag | tag | tag | or tag1 | tag2 | tag3 … ?
    Is the rest of the header is the same of the older version ?

    thank you very much again

    Ludo

  2. admin Says:

    The header is like:

    wp_title|wp_post_date|wp_category|wp_content|wp_tags|field1|field2|field3….

    If you have multiple categories and tags, just separated by commas.

  3. bali Says:

    May I change like this :
    wp_title|wp_category|wp_content|wp_tags|field1|field2|field3|wp_post_date

  4. admin Says:

    Actually, I didn’t try that. But I think it’s better follow the sequence.

Leave a Reply