protected property WordPressItemSource::$fields in WordPress Migrate 7
Same name and namespace in other branches
- 7.2 wordpress_item.inc \WordPressItemSource::fields
List of available source fields.
Type: array
File
- ./
wordpress_item.inc, line 26 - Support for migrating posts and pages from a WordPress blog into Drupal.
Class
- WordPressItemSource
- Implementation of MigrateSource, to handle migrating items from WordPress XML dumps.
Code
protected $fields = array(
'title' => 'Item title',
'link' => 'WordPress URL of the item',
'pubDate' => 'Published date',
'creator' => 'WordPress username of the item author',
'guid' => 'Alternate URL of the item (?)',
'description' => '?',
'content' => 'Body of the item',
'excerpt' => 'Teaser for the item',
'post_id' => 'Unique ID of the item within the blog',
'post_date' => 'Date posted (author\\s timezone?)',
'post_date_gmt' => 'Date posted (GMT)',
'comment_status' => 'Whether comments may be posted to this item (open/closed)',
'ping_status' => '?',
'post_name' => 'Trailing component of link',
'status' => 'Item status (publish/draft/inherit)',
'post_parent' => 'Parent item ID (?)',
'menu_order' => 'Equivalent to Drupal weight?',
'post_type' => 'Item type (post/page/attachment)',
'post_password' => '?',
'is_sticky' => 'Equivalent to Drupal sticky flag',
'category' => 'Categories (as nicename) assigned to this item',
'tag' => 'Tags (as nicename) assigned to this item',
);