/[drupal]/contributions/modules/leech/leech_feed_taxonomy/leech_feed_taxonomy.module
ViewVC logotype

Diff of /contributions/modules/leech/leech_feed_taxonomy/leech_feed_taxonomy.module

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

revision 1.1.2.5, Tue Sep 11 18:47:19 2007 UTC revision 1.1.2.6, Wed Nov 28 16:59:41 2007 UTC
# Line 105  function leech_feed_taxonomy_nodeapi(&$n Line 105  function leech_feed_taxonomy_nodeapi(&$n
105          }          }
106        }        }
107        $item_data = $node->leech_news_item->feed_data->channel['ITEM'][$which];        $item_data = $node->leech_news_item->feed_data->channel['ITEM'][$which];
       // Solution of douggreen (http://drupal.org/user/29191) Thanks!  
108        //[RSS:CATEGORY][][VALUE] && [RSS:CATEGORY][][DOMAIN] attrib        //[RSS:CATEGORY][][VALUE] && [RSS:CATEGORY][][DOMAIN] attrib
109        //[ATOM:CATEGORY][][TERM][][VALUE]        //[ATOM:CATEGORY][][TERM][][VALUE]
110        //[DC:SUBJECT][][VALUE]        //[DC:SUBJECT][][VALUE]
# Line 124  function leech_feed_taxonomy_nodeapi(&$n Line 123  function leech_feed_taxonomy_nodeapi(&$n
123        else if ($item_data['DC:SUBJECT']) {        else if ($item_data['DC:SUBJECT']) {
124          $categories = $item_data['DC:SUBJECT']; // DublinCore          $categories = $item_data['DC:SUBJECT']; // DublinCore
125        }        }
126          else if ($item_data['taxo:topics']) { // del.icio.us
127            $categories = $item_data['taxo:topics'];
128          }
129        $voc_items = leech_feed_taxonomy_create_vocabulary_items($node, $categories);        $voc_items = leech_feed_taxonomy_create_vocabulary_items($node, $categories);
130        if ($voc_items == FALSE) {        if ($voc_items == FALSE) {
131          return;          return;

Legend:
Removed from v.1.1.2.5  
changed lines
  Added in v.1.1.2.6

  ViewVC Help
Powered by ViewVC 1.1.2