Import data into groups

I have some data in a csv file. I would love to be able to import each row in this csv file as a new group on my Elgg Social Network.

Can someone please explain how I can do this?

Thank you very much in advance 

  • You need to develop an elgg plugin which reads the csv file and using these datas with the elgg API you can easily create new groups. This is not a tough thing to achieve, if you are expert with php and you know how elgg works.

  • Yes as the Webhgalli, said. It is quite easy. Only thing you have to do is just read the CSV file, Then make new istance of ElggGroup, Set the title, description and accessid. And according to me... set all the columns as METADATA.. Finally save it.

    Thanks...