1 |
85ad3d82
|
Assos Assos
|
|
2 |
|
|
Node export README
|
3 |
|
|
|
4 |
|
|
CONTENTS OF THIS FILE
|
5 |
|
|
----------------------
|
6 |
|
|
|
7 |
|
|
* Introduction
|
8 |
|
|
* Installation
|
9 |
|
|
* Configuration
|
10 |
|
|
* Usage
|
11 |
|
|
* Node export features tips
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
INTRODUCTION
|
15 |
|
|
------------
|
16 |
|
|
This module allows users to export nodes and then import it into another
|
17 |
|
|
Drupal installation, or on the same site.
|
18 |
|
|
|
19 |
|
|
This module allows user to export/import nodes if they have the 'export nodes'
|
20 |
|
|
or 'export own nodes' permission, have node access to view the node and create
|
21 |
|
|
the node type, and the node type is not omitted in node export's settings. The
|
22 |
|
|
module does not check access to the filter formats used by the node's fields,
|
23 |
|
|
please keep this in mind when assigning permissions to user roles.
|
24 |
|
|
|
25 |
|
|
Maintainer: Daniel Braksator (http://drupal.org/user/134005)
|
26 |
|
|
Project page: http://drupal.org/project/node_export.
|
27 |
|
|
|
28 |
|
|
Note: this module was originally built upon code from the node_clone module
|
29 |
|
|
maintained by Peter Wolanin (http://drupal.org/user/49851) at
|
30 |
|
|
http://drupal.org/project/node_clone which was derived from code posted by
|
31 |
|
|
Steve Ringwood (http://drupal.org/user/12856) at
|
32 |
|
|
http://drupal.org/node/73381#comment-137714
|
33 |
|
|
Features integration, relations, and UUID initially developed by Tushar Mahajan
|
34 |
|
|
(http://drupal.org/user/398572).
|
35 |
|
|
Significant improvements, file handling, and extra functionality pioneered by
|
36 |
|
|
James Andres (http://drupal.org/user/33827).
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
INSTALLATION
|
40 |
|
|
------------
|
41 |
|
|
1. Copy node_export folder to modules directory (usually sites/all/modules).
|
42 |
|
|
2. At admin/build/modules enable the Node export module in the Node export
|
43 |
|
|
package.
|
44 |
|
|
3. Enable any other modules in the Node export package that tickle your fancy.
|
45 |
|
|
|
46 |
|
|
For detailed instructions on installing contributed modules see:
|
47 |
|
|
http://drupal.org/documentation/install/modules-themes/modules-7
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
CONFIGURATION
|
51 |
|
|
-------------
|
52 |
|
|
1. Enable permissions at admin/user/permissions.
|
53 |
|
|
Security Warning: Users with the permission "use PHP to import nodes"
|
54 |
|
|
will be able to change nodes as they see fit before an import, as well as
|
55 |
|
|
being able to execute PHP scripts on the server. It is advisable not to
|
56 |
|
|
give this permission to a typical node author, only the administrator or
|
57 |
|
|
developer should use this feature. You may even like to turn this module
|
58 |
|
|
off when it is no longer required.
|
59 |
|
|
This module does not check access to the filter formats used by the node's
|
60 |
|
|
fields, please keep this in mind when assigning permissions to user roles.
|
61 |
|
|
2. Configure module at admin/settings/node_export.
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
USAGE
|
65 |
|
|
-----
|
66 |
|
|
1. To export nodes, either:
|
67 |
|
|
a) Use the 'Node export' tab on a node page.
|
68 |
|
|
b) Use the Find content page (admin/content) to filter the nodes you
|
69 |
|
|
wish to export and then choose 'Node export' under the 'Update options'.
|
70 |
|
|
c) Use Drush: http://drupal.org/project/drush
|
71 |
|
|
d) Create a Feature (see tips below) http://drupal.org/project/features
|
72 |
|
|
e) Create a View of nodes and use the Views Bulk Operations (VBO) module
|
73 |
|
|
http://drupal.org/project/views_bulk_operations
|
74 |
|
|
|
75 |
|
|
2. To import nodes that were exported with Node export, either:
|
76 |
|
|
a) Use the form at 'Node export: import' under 'Add content'
|
77 |
|
|
(node/add/node_export).
|
78 |
|
|
b) Use Drush: http://drupal.org/project/drush
|
79 |
|
|
c) Using your created Feature.
|
80 |
|
|
d) For advanced imports if you are familiar with the Feeds module, enable
|
81 |
|
|
Node export feeds module to use with the Feeds import interface
|
82 |
|
|
http://drupal.org/project/feeds
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
NODE EXPORT FEATURES TIPS
|
86 |
|
|
-------------------------
|
87 |
|
|
Regarding the Node export features module which integrates with the Features
|
88 |
|
|
module, any nodes to be used with this must have a UUID (universally unique
|
89 |
|
|
ID). To export older nodes that don't have UUID make sure you have selected
|
90 |
|
|
the content type and click on 'create missings uuids' from
|
91 |
|
|
'admin/settings/uuid' under the fieldset 'Synchronize'. Then you should be
|
92 |
|
|
able to see more nodes under the feature component, If you don't see the node
|
93 |
|
|
export component, that means no nodes has been configured with UUID. |