background preloader

Migration

Facebook Twitter

Export

Include, and style, a Drupal 6 teaser on a node's full view. In the Drupal content management system, a "node teaser" is small bit of content used to encourage you to "read more" of the post.

Include, and style, a Drupal 6 teaser on a node's full view

Drupal can set the teaser to the entire length of the post (typically used for blogs where you don't need extra click-through), or can automatically generate the teaser to a specific character length. In the past, you could also manually generate teasers by including <--break--> in the node's body. Creating Drupal content using Python. I wanted to import data into Drupal from elsewhere - in my case, from XML exported by another system.

Creating Drupal content using Python

Perhaps the easiest way to interface with Drupal at a simple level is to use the Services module. This lets you, for example, create applications in other languages which can create, list, or update Drupal content.