Node_import: Importing Content
The node_import feature available in the content configuration section provides a way to import nodes and contacts for the site using comma separated values (CSV) files. It can be useful for uploading lists of contacts that were created in an Excel spreadsheet file. Since this feature allows the loading of a large amount of content into your CivicSpace database, the permissions for this feature are best configured for administrators only.
- Create a spreadsheet with data and columns with the following headings:
- First name
- Last name
- Zip code
- Phone number
"Email","First name","Last name","Zip code","City","State","Phone number" "email@example.com","Test","Test","00000","Wherever","CA","000-000-000"
The process for importing nodes is the same as for importing contacts, except you will want to create a spreasheet with columns
- type (blog, forum, story, etc.)
- body (the text of the post)
- And any other database fields from the node type you would like to add.
NOTE: You may use either the uid or name of the author. If neither of these is included, CivicSpace will post the node with author Anonymous.
Once you've created the CSV file, under import in the content administration section, upload your CSV file and select raw data (advanced) from the pull down menu.