The feeds module is the preferred way to programatically import data.

Comments

osopolar’s picture

Status: Active » Needs review
StatusFileSize
new0 bytes

Patch attached. I also added the feeds import feature to: [Feeds] List of implemented mappers.

osopolar’s picture

kalman.hosszu’s picture

Can you explain a real example how could it use? If I understand the function, I will test and commit it.

Thanks,
Kalman

osopolar’s picture

Do you already know the feeds module - here you can find a list of features. So it's a great API to import/migrate Data from ... where ever you want. For example I had to create hundreds of nodes and instead of creating on by one I just created a csv file and than I imported all at once.

You need to install feeds and configure it eg. to import from a csv file.

kalman.hosszu’s picture

Ok thanks! I will test it as soon as possible.

kalman.hosszu’s picture

Status: Needs review » Fixed

Thanks it seems good.

I committed your patch.

Cheers,
Kalman

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.