You are here

function taxonomy_xml_about_services in Taxonomy import/export via XML 7

Same name and namespace in other branches
  1. 6.2 taxonomy_xml.module \taxonomy_xml_about_services()
  2. 6 taxonomy_xml.module \taxonomy_xml_about_services()

Admin help page listing details of available services A menu page callback

1 string reference to 'taxonomy_xml_about_services'
taxonomy_xml_menu in ./taxonomy_xml.module
Implements hook_menu().

File

./taxonomy_xml.module, line 952
Make it possible to import and export taxonomies as XML documents.

Code

function taxonomy_xml_about_services() {
  drupal_set_title(t('About Taxonomy Import Services'));
  $services = taxonomy_xml_services();
  $output = "";
  foreach ($services as $service) {
    @($output .= "<dt>{$service['provider']} - {$service['servicename']} ({$service['protocol']} {$service['servicetype']})</dt>");
    @($output .= "<dd>{$service['description']} <br/> <em>{$service['format']}</em> <br/> " . l($service['about'], $service['about']) . "</dd>");
  }
  $output = "<dl>{$output}</dl>";
  return $output;
}