function aggregator_element_end in Drupal 4
Same name and namespace in other branches
- 5 modules/aggregator/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.module
File
- modules/
aggregator.module, line 630 - 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 = '';
}
}
}