Side Channel

  • home
  • resources
Home

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Navigation

  • Books
  • Feed aggregator

Recent blog posts

  • Ubuntu mirrors up and improved!
  • Google-jstemplate: Iterate object with unknown properties
  • nginx https proxypass for php apps
  • sugarcrm & memcache: Doing it Wrong
  • subversion and https in Ubuntu Karmic
  • Drupal: Views block delta converted to md5 hash
  • Ubuntu Server install requires PAE
  • Installing Drupal from command line
  • Drupal: Handling form field weight through CCK
  • minify javascript using Google Closure Compiler
more

angch's location

angch twitter

  • angch: Heading to Brunei. Business class for a change.
more

drupal programmatic

kamal's picture

Drupal: Programmaticaly creating nodes

kamal — Mon, 13/04/2009 - 10:49

Note: Work in progress, need to jot down for future reference.

When migrating content from the old system to Drupal, we need some programmatic way of doing that. If we did some Google search with keyword such as "programmatic Drupal", two methods become obvious - node_save() and drupal_execute(). Before we go further, better to clarify that both methods are not exactly some kind of Data API that Drupal provide to programmaticaly import external data. It far from that. It just happened that we can leverage both functions to help us put external data in place within Drupal structure.

  • drupal
  • drupal programmatic
  • kamal's blog
  • Add new comment
  • Read more
Syndicate content


Creative Commons License

  • home
  • resources

Standard Disclaimer.