Import comments from Disqus and Wordpress XML dumps to schnack!
Install the module locally or globally (-g
):
npm install @schnack/importer
It is possible to use npx and node-bin to directly run the schnack-importer without installation:
npx -p node-bin@9 npx @schnack/importer dump.xml comments.db
Prerequisites:
- An SQLite database file should be already be created running schnack. This script will not create the database and the necessary tables.
- schnack should not be running. SQLite accepts one connection at time.
Run:
schnack-importer dump.xml comments.db