You are here

function taxonomy_xml_help in Taxonomy import/export via XML 5

Same name and namespace in other branches
  1. 5.2 taxonomy_xml.module \taxonomy_xml_help()
  2. 6.2 taxonomy_xml.module \taxonomy_xml_help()
  3. 6 taxonomy_xml.module \taxonomy_xml_help()
  4. 7 taxonomy_xml.module \taxonomy_xml_help()

Implementation of hook_help().

File

./taxonomy_xml.module, line 55
taxonomy_xml.module This module makes it possible to import and export taxonomies as XML documents.

Code

function taxonomy_xml_help($section) {
  switch ($section) {
    case 'admin/modules#description':
      return t('Makes it possible to import and export taxonomy terms via XML.');
    case 'admin/content/taxonomy/import':
      return t("\n        <p>\n        You can upload a vocabulary and/or taxonomy terms from a properly-formatted document. See the file formats.html in the module directory for more information.\n        </p><p>\n        If you want to add the terms to an existing vocabulary, \n        use the \"Target vocabulary\" selector below. \n        If you select \"determined by source file,\" the add to vocabulary will be specified by the XML document itself. \n        <br/>\n        Drupal-specific configurations (such as the related node types, or the free-tagging property) will \n        probably not be imported, so you'll want to review the new vocabulary edit page when it's done.\n        </p><p>\n        To avoid duplications, already-existing terms will not be added.\n        It's highly unlikely that term IDs can be meaningfully shared between systems, so the\n        tid field is NOT retained. Instead, terms are looked up by name (string match) and vocabulary when looking for existing terms.\n        Just because you've duplicated a vocabulary, does not mean it's identically numbered as the original. \n        They will usually get new, unique IDs.\n        </p>\n      ");
    case 'admin/content/taxonomy/export':
      return t("You can export XML documents for each vocabulary and its terms in this website's !taxonomies. Choose the vocabulary from the list below.", array(
        '!taxonomies' => l(t("taxonomies"), "admin/help/taxonomy"),
      ));
    case 'admin/help#taxonomy_xml':
      return t("This module makes it possible to import and export vocabularies and taxonomy terms in several formats (requires taxonomy.module). " . "Once installed and enabled, it module provides a list of downloadable XML documents for each vocabulary at !downloads. To import a vocabulary, use !upload.", array(
        '!downloads' => l(t("taxonomy XML"), "admin/taxonomy/export"),
        '!upload' => l("administer &raquo; categories &raquo; import", "admin/taxonomy/import", array(), NULL, NULL, FALSE, TRUE),
      ));
  }
}