分类export - 使用功能的代码出口但不导入。
http://drupal.org/node/755986 - 我的简要测试使用此补丁显示混合结果。
I'm looking for a way to export Taxonomy vocabs and their associated terms. So far I've found and tested:
Taxonomy Export -- Exports to code using features but doesn't import.
http://drupal.org/node/755986 -- My brief testing with this patch showed mixed results.
Does anyone have any other module suggestions or code solutions? I could write it all into a
hook_install and then use
hook_update to update but it doesn't seem like an elegant solution especially for 500+ terms.
Also might want to take a look at Taxonomy CSV import/export or Taxonomy import/export via XML
You might also want to look at http://drupal.org/project/uuid and http://drupal.org/project/uuid_features, which can be used together to export Nodes, Node Revisions, Users and Taxonomy to a Feature.
I haven't done Taxonomy with UUID personally, but it does work quite well with Nodes.
The Feeds module allows the creation of Taxonomy terms from various sources (CSV, XML, etc). That may help.
I have used http://drupal.org/project/exportables with a patch to support exporting the taxonomy and full terms with one tick in features. Have had good success with this
Even though the module is named Taxonomy Export, it is a light-weight module for managing exports and imports of vocabularies and terms.
Even though this module is called Node Import, it also says it handles importing/exporting Taxonomies.
Firstly youxe2x80x99ll need to install the UUID Features, Features and UUID modules.
Once all those modules are enabled, go to example.com/admin/config/content/uuid_features (or on your administration menu go to Administration xe2x80x93> Content Authoring xe2x80x93> UUID Features Integration, and under xe2x80x9cExportable Taxonomy term bundlesxe2x80x9d check the boxes for the relevant taxonomy terms.
Go to your features export page at example.com/admin/structure/features/ (or on your administration menu go to Administration xe2x80x93> Structure xe2x80x93> Features), create/recreate the feature and youxe2x80x99ll see xe2x80x9cTaxonomy Termsxe2x80x9d listed.