Closed (fixed)
Project:
Node import
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2009 at 16:24 UTC
Updated:
24 Sep 2010 at 16:58 UTC
The following patch adds support for emimage, emvideo, and emaudio CCK fields added to nodes with the Embedded Media Field module. A similar approach would likely work for other media types supported by that module but these are all I've personally tested.
To import these fields, you only need to supply the URL of the embedded media (for example, the URL of an image hosted on Picasa or Flickr, or a video hosted on YouTube). All other fields are determined by the emfield module, just as when creating or editing a node via the standard Drupal web interface.
| Comment | File | Size | Author |
|---|---|---|---|
| node_import_emfield.patch | 3.29 KB | mvc |
Comments
Comment #1
mvcI forgot to note that exporting these fields in the first place requires this patch to the embedded media field module: #523860: Plain Video and Image URL in Views
Comment #2
Robrecht Jacques commentedCommitted. Will be included in -rc5. Thanks! Didn't test.
Comment #4
ehikr commentedFYI, the patch mentioned in #1 http://drupal.org/node/523860 is in the latest version of Embedded Media (6.X 2.1)