; $Id: API.txt,v 1.1.2.19 2010-02-14 11:22:23 kiam Exp $ ; This file contains a log of changes to the API. API version 1.1 * The module uses hook_nodewords_tags_info(), and hook_nodewords_api(). * Functions that before were private are now public. API version 1.3 * The module uses also hook_nodewords_type_id(). * The function nodewords_output_tags() has been changed from nodewords_output_tags($tags) to nodewords_output_tags($tags, $output_type = 'head'). * The function nodewords_unique() has been changed from nodewords_unique($text, $max_items = 0, $separator = ',') to nodewords_unique($text, $separator = ',', $max_items = -1). API version 1.4 * The function nodewords_metatag_from_teaser() has been changed from nodewords_metatag_from_teaser($text, $format, $alt_attribute, $size = 0) to nodewords_metatag_from_teaser($text, $format, $options = array()). API version 1.5 * Changed the name of the constants from NODEWORDS_MT_TYPE_* to NODEWORDS_TYPE_*. API version 1.6 * Changed the function nodewords_get_tags() from nodewords_get_tags($type, $ids = array(''), $filtered = TRUE) to nodewords_get_tags($type, $ids = array(''), $options = array()). API version 1.7 * The module uses also hook_nodewords_tags_output_alter(). * The identifier passed to _settings_form() for the meta tags settings form is now the form identifier as used by Drupal (nodewords_settings_form). API version 1.8 * The module uses also hook_nodewords_tags_alter(). * The function nodewords_mass_delete_tags() cannot be used to delete meta tags associated with custom pages anymore. API version 1.9 * The function nodewords_metatag_from_teaser($text, $format, $options = array()) has been replaced by nodewords_metatag_from_node_content($node, $content, $options = array()). API version 1.10 * The function nodewords_delete_tags($ids, $type) has been replaced from nodewords_mass_update($ids, $type, $options = array()). API version 1.11 * All the functions nodewords_pages_*() have been renamed nodewords_custom_pages_*(). * A new costant has been introduced (NODEWORDS_TYPE_OFFLINE). * The function nodewords_get_tags() has been removed. * The function nodewords_output_tags() is now a private function. * The function nodewords_unique() has been renamed nodewords_unique_values(). * The parameters for the function nodewords_get_term() have been changed from nodewords_get_term($tid) to nodewords_get_term($tid, $account = NULL). * Added the function nodewords_url($path, $options = array()). API version 1.12 * The value expected from hook_nodewords_tags_info() has been changed. * New functions have been added: nodewords_check_api_version(), nodewords_load_include(), nodewords_load_all_includes(). * The module uses also hook_nodewords_tags_info_alter().