| 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] |
| 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; |