function _parser_common_syndication_RDF10_item in Feeds 6
Same name and namespace in other branches
- 8.2 libraries/common_syndication_parser.inc \_parser_common_syndication_RDF10_item()
- 7.2 libraries/common_syndication_parser.inc \_parser_common_syndication_RDF10_item()
- 7 libraries/common_syndication_parser.inc \_parser_common_syndication_RDF10_item()
1 call to _parser_common_syndication_RDF10_item()
- _parser_common_syndication_RDF10_parse in libraries/
common_syndication_parser.inc - Parse RDF Site Summary (RSS) 1.0 feeds in RDF/XML format.
File
- libraries/
common_syndication_parser.inc, line 349 - Downloading and parsing functions for Common Syndication Parser. Pillaged from FeedAPI common syndication parser.
Code
function _parser_common_syndication_RDF10_item($rdf_data, $mappings) {
foreach ($mappings as $k => $v) {
$values = _parser_common_syndication_RDF10_property($rdf_data, $v);
$mappings[$k] = !is_array($values) || count($values) > 1 ? $values : reset($values);
}
return $mappings;
}