function aggregator_element_end in Drupal 5
Same name and namespace in other branches
- 4 modules/aggregator.module \aggregator_element_end()
- 6 modules/aggregator/aggregator.module \aggregator_element_end()
- 7 modules/aggregator/aggregator.parser.inc \aggregator_element_end()
Call-back function used by the XML parser.
1 string reference to 'aggregator_element_end'
- aggregator_parse_feed in modules/
aggregator/ aggregator.module
File
- modules/
aggregator/ aggregator.module, line 632 - Used to aggregate syndicated content (RSS, RDF, and Atom).
Code
function aggregator_element_end($parser, $name) {
global $element;
switch ($name) {
case 'IMAGE':
case 'TEXTINPUT':
case 'ITEM':
case 'ENTRY':
case 'CONTENT':
case 'INFO':
$element = '';
break;
case 'ID':
if ($element == 'ID') {
$element = '';
}
}
}