discourse/script/import_scripts/socialcast
David McClure f7f8226b4c Add Socialcast importer 2016-08-20 17:25:19 -07:00
..
test Add Socialcast importer 2016-08-20 17:25:19 -07:00
README.md Add Socialcast importer 2016-08-20 17:25:19 -07:00
create_title.rb Add Socialcast importer 2016-08-20 17:25:19 -07:00
export.rb Add Socialcast importer 2016-08-20 17:25:19 -07:00
import.rb Add Socialcast importer 2016-08-20 17:25:19 -07:00
socialcast_api.rb Add Socialcast importer 2016-08-20 17:25:19 -07:00
socialcast_message.rb Add Socialcast importer 2016-08-20 17:25:19 -07:00
socialcast_user.rb Add Socialcast importer 2016-08-20 17:25:19 -07:00
title.rb Add Socialcast importer 2016-08-20 17:25:19 -07:00

README.md

To get started, copy the config.ex.yml to config.yml, and then update the properties for your Socialcast instance.

This importer uses the Socialcast API.

domain: 'my-socialcast-domain'
username: 'my-socialcast-username'
password: 'my-socialcast-password'

Create the directory for the json files to export: mkdir output Then run ruby export.rb /path/to/config.yml

Create a category named "Socialcast Import" or all topics will be imported into the "Uncategorized" category.

Topics will be tagged with the names of the groups they were originally posted in on Socialcast.

To run the import, run ruby import.rb