Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
653 views
in Q2A Core by
Hi

is it possible to import questions and answers from a csv file?
Q2A version: last

1 Answer

+2 votes
by
edited by

Q2A stores its data in a relational database (usually MySQL/MariaDB). MySQL and MariaDB (like most other relational DBMS) provide a mechanism for importing data from a CSV file into a database table, so technically the answer to your question is "yes."

However, you probably meant if there is a plugin for importing questions from a CSV via the web-UI. AFAIK the answer to that is no.

There appears to be a paid plugin for importing data from XML, though, but I have not used it myself, so I can't tell you how good it is, or if it even works at all. You'd also need to convert your input data from CSV to XML.

There's also a plugin for bulk-importing users from a CSV. Perhaps you could get some ideas from there if you wanted to write your own question import plugin.

Usually, question import is not something that'll occur frequently, though, so I'd say instead of writing a plugin your time would be better spent on figuring out how to import your questions CSV directly into the database.

...