/[drupal]/contributions/modules/autotagging/autotagging.module
ViewVC logotype

Diff of /contributions/modules/autotagging/autotagging.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7, Fri Jul 24 17:38:20 2009 UTC revision 1.8, Mon Jul 27 17:52:01 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: autotagging.module,v 1.6 2009/07/22 18:24:07 acstewart Exp $  // $Id: autotagging.module,v 1.7 2009/07/24 17:38:20 acstewart Exp $
3  /*  /*
4   * @file autotagging.module   * @file autotagging.module
5   * Module for base Autotagging API.   * Module for base Autotagging API.
# Line 51  function autotagging_nodeapi(&$node, $op Line 51  function autotagging_nodeapi(&$node, $op
51        $text[] = str_replace("\n", ' ', $node->body);        $text[] = str_replace("\n", ' ', $node->body);
52        $text = implode(' ', $text);        $text = implode(' ', $text);
53        $ignore_setting = variable_get('autotagging_error_handling', 'Defer');        $ignore_setting = variable_get('autotagging_error_handling', 'Defer');
54        foreach (module_implements('autotagging_api_' . $op) as $module_name) {        foreach (module_implements('autotagging_api_'. $op) as $module_name) {
55          $terms = module_invoke($module_name, 'autotagging_api_'. $op, $node, $text);          $terms = module_invoke($module_name, 'autotagging_api_'. $op, $node, $text);
56          if ($terms === FALSE) {          if ($terms === FALSE) {
57            // error occurred processing this node for this service            // error occurred processing this node for this service

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.2