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

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

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

revision 1.5, Mon Jul 27 17:52:01 2009 UTC revision 1.6, Mon Jul 27 17:58:39 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: autotagging_yahoo_terms.module,v 1.4 2009/07/24 17:30:25 acstewart Exp $  // $Id: autotagging_yahoo_terms.module,v 1.5 2009/07/27 17:52:01 acstewart Exp $
3  /*  /*
4   * @file autotagging_yahoo_terms.module   * @file autotagging_yahoo_terms.module
5   * Yahoo Terms support for autotagging module.   * Yahoo Terms support for autotagging module.
# Line 40  function autotagging_yahoo_terms_autotag Line 40  function autotagging_yahoo_terms_autotag
40      $results = $xp->evaluate('//y:ResultSet/y:Result');      $results = $xp->evaluate('//y:ResultSet/y:Result');
41      $vid = variable_get('autotagging_yahoo_terms_vocabulary', '');      $vid = variable_get('autotagging_yahoo_terms_vocabulary', '');
42      $global_vid = variable_get('autotagging_global_vocabulary', '');      $global_vid = variable_get('autotagging_global_vocabulary', '');
43        $terms = array();
44      for ($i = 0; $i < $results->length; $i++) {      for ($i = 0; $i < $results->length; $i++) {
45        $result = $results->item($i);        $result = $results->item($i);
46        if ($vid == '' || $vid == '<none>') {        if ($vid == '' || $vid == '<none>') {

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.2