Posted by openbayou on April 19, 2015 at 12:49am
Hey,
I'm Gregory and I just joined the group. It was great to meet new people at the last meetup. Anyway, I'm moving a site from WordPress to Drupal and need help. What's the best and easy way to create a node? Online script (I hope)?
Thanks,
Gregory S.
Comments
Creating a node programmatically, what's the context?
Hi Gregory,
Welcome to the group!
It sounds like you maybe migrating content from Wordpress to Drupal, is that right? Is this why you want to create a node programmatically?
If so, you may want to explore these following tools.
- https://www.drupal.org/project/wordpress_migrate
- https://www.drupal.org/project/migrate
You'll be able to extend those tools if you need to include custom logic/processing during the migration.
If you're looking to create a node programmatically for another reason, there's a lot of resources online for "creating drupal node programmatically"
- https://www.drupal.org/node/1388922
- http://getlevelten.com/blog/randall-knutson/if-you-arent-using-entity-ap...
Hope to you at the next meet-up, 5/7, first Thursday of most months, see http://www.meetup.com/louisianadrupal/.
Jason.