mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 21:25:55 +00:00
parser: remove atom <source> element
This commit is contained in:
@@ -8,6 +8,12 @@ abstract class FeedItem_Common extends FeedItem {
|
|||||||
$this->elem = $elem;
|
$this->elem = $elem;
|
||||||
$this->xpath = $xpath;
|
$this->xpath = $xpath;
|
||||||
$this->doc = $doc;
|
$this->doc = $doc;
|
||||||
|
|
||||||
|
$source = $elem->getElementsByTagName("source")->item(0);
|
||||||
|
|
||||||
|
// we don't need <source> element
|
||||||
|
if ($source)
|
||||||
|
$elem->removeChild($source);
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_author() {
|
function get_author() {
|
||||||
|
|||||||
Reference in New Issue
Block a user