public function FeedsAtomRDFParser::getSourceElement in Feeds Atom 7
File
- plugins/
FeedsAtomRDFParser.inc, line 103 - Contains the feeds atom RDF parser class.
Class
- FeedsAtomRDFParser
- Parses Atom RDF feeds.
Code
public function getSourceElement(FeedsSource $source, FeedsParserResult $result, $element_key) {
$item = $result
->currentItem();
if (!empty($item['rdf'][$element_key])) {
return $item['rdf'][$element_key];
}
else {
return parent::getSourceElement($source, $result, $element_key);
}
}