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.

Importing Contacts

  1. Create a spreadsheet with data and columns with the following headings:
    • Email
    • First name
    • Last name
    • Zip code
    • City
    • State
    • Phone number
  2. Save your file as a CSV file with elements separated by commas and data enclosed in double quotes. For example,
    "Email","First name","Last name","Zip code","City","State","Phone number"
    "test@none.com","Test","Test","00000","Wherever","CA","000-000-000"
    
  3. Under import in the content administration section, upload your csv file and select contact from the pull down menu.
  4. CivicSpace will then ask you to match your fields to the fields in the database.
  5. Once you have done this, preview your results and then select import.

Importing Nodes

The process for importing nodes is the same as for importing contacts, except you will want to create a spreasheet with columns

  • title
  • uid
  • name
  • 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.


liza's picture

Visit our sponsors

Fill up our coffee fund

BlogAds

Visit our sponsors

Who's online

There are currently 1 user and 1226 guests online.

Online users

Get our Digestifs du jour

Nibble daily on our brainy goodness with our daily syndication digest. You'll receive an email with a list and links to the previous day's posts.



Powered by FeedBlitz

culturekitchens

The Publisher
Liza Sabater

Daily servings of political dissent
culturekitchen

Grassroots News and
Activism for New Yorkers

Daily Gotham

Feminist Bloggers
Network

BlogSheroes

A new kind of vouyerism
Voogling

Art + Code + Philosophy
Potatoland.blog

Got any dirt, tips, leads or money for us? Then drop us a line or two at editors [at] culturekitchen [dot] com or use our general contact form to reach everybody in the editorial team ASAP.


Member's articles and stories

More stories

Words to live by


"There are some things I keep sacred. My middle name. Who I sleep with. And what kind of hand moisturizer I use...If I was out to please 10-year-old girls and their 45-year-old mothers in Boise, Idaho, I could play the game and be nice and make my voice deeper. But I don’t see the point. I’m not alive for 10-year-old girls and their 45-year-old mothers in Boise, Idaho — or Colorado Springs, Colo."


— Johnny Weir, flaming the fires of his real life "Blades of Glory" feud with Evan Lysacek in "Figu