The Ning import script is a tool for importing data from Ning into Discourse. neil created the script and warns that it may require improvements, as no two imports are the same. The script only works with Ning archives, not with Ning 3.0, which does not have an export feature.
To use the script:
- Put Ning JSON files in one directory
- Edit the script to point to the JSON files and set other options
- Run the import script
neil notes that imported users do not receive a welcome email, but this can be added to the script. He also provides instructions on how to customize the script for specific needs.
alehandrof shares tips on importing custom categories and neil explains how to handle errors in the Ning JSON files.
alehandrof reports that the script works fine, but some content is not exported by the NingNetworkArchiver application. neil suggests that corrupted JSON files are a common issue and may require contacting Ning support.
Regarding issues with attachments, neil suggests checking the authorized file types and alehandrof shares his experience with broken links.
For setting up a local development environment, alehandrof recommends using Vagrant and neil provides a guide for setting up a Vagrant environment.
Note: Ning 3.0 does not have an export feature, and the script may not work with corrupted JSON files. Contacting Ning support may be necessary to resolve issues with truncated discussions or missing attachments.