Long story short, migrating a rather large WP blog into Drupal 7. One WP plugin used was "Custom Fields Template". I need to pull in 2 of these custom field types into Drupal, but since they are custom, of course this will require me to modify the WordPress Migrate module (yay...).
Here's what the one custom field looks like in the WP export:
<wp:postmeta>
<wp:meta_key>Video_File</wp:meta_key>
<wp:meta_value><![CDATA[0dl8yq1NdKE]]></wp:meta_value>
</wp:postmeta>I'm simply importing these as articles, and I've added a cck text field of "Video" for this data. I then went into the module and added this line to the wordpress_item.inc file:
$this->addFieldMapping('field_video', 'Video_File');I know (verbally) what I need to do next: Check to see if there is content in the field, and if so, import it into that new cck field. How does Drupal name the cck fields? How do I point the imported content into the new field? Do I need to do anything in the database?
If I only had a handful of these I would absolutely do it manually, but unfortunately I have 500+ blogs with video files... So manually really isn't an option.
Comments
Feeds?
I'm waiting for another team member to verify which server this dang WP site is on, but in the meantime, does anyone think the feeds module would do the trick?
I'm going to install a WP plugin to export everything as a csv (says it'll export custom fields as well) - hopefully this will get me in the right direction.