How to import posts in CSV format?


(Hamza Ahmed) #1

Can I import new posts using CSV format? any importer plugin or something? Thanks


(Jay Pfaffman) #2

Most importers read sql databases.

You need at least one table for users and another for topics and posts. You generally also want to import categories.

What are you importing from?


(Jk Baseer) #3

As he is not replied and I do have the same question.

I just have csv where it has all the questions asked from a offline event that need to be uploaded in this forum. how do we that?


(Jay Pfaffman) #4

You’ll need to write a custom importer to read the stuff and put it in Discourse. It looks like discourse/zendesk.rb at master · discourse/discourse · GitHub reads CSV files.

If that’s not an answer and you have a budget, you can post in #marketplace, or read Discourse Migration – Literate Computing and contact me


(Jk Baseer) #5

I have checked the Zendesk script and it doesn’t look simple to me at first sight. Anyway I will come to the marketplace side when i become rich :smiley:

For now, need to go through other scripts. Thanks Jay!