|
@@ 1823-1829 (lines=7) @@
|
| 1820 |
|
public function get_feed_tags($namespace, $tag) |
| 1821 |
|
{ |
| 1822 |
|
$type = $this->get_type(); |
| 1823 |
|
if ($type & SIMPLEPIE_TYPE_ATOM_10) |
| 1824 |
|
{ |
| 1825 |
|
if (isset($this->data['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['feed'][0]['child'][$namespace][$tag])) |
| 1826 |
|
{ |
| 1827 |
|
return $this->data['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['feed'][0]['child'][$namespace][$tag]; |
| 1828 |
|
} |
| 1829 |
|
} |
| 1830 |
|
if ($type & SIMPLEPIE_TYPE_ATOM_03) |
| 1831 |
|
{ |
| 1832 |
|
if (isset($this->data['child'][SIMPLEPIE_NAMESPACE_ATOM_03]['feed'][0]['child'][$namespace][$tag])) |
|
@@ 1830-1836 (lines=7) @@
|
| 1827 |
|
return $this->data['child'][SIMPLEPIE_NAMESPACE_ATOM_10]['feed'][0]['child'][$namespace][$tag]; |
| 1828 |
|
} |
| 1829 |
|
} |
| 1830 |
|
if ($type & SIMPLEPIE_TYPE_ATOM_03) |
| 1831 |
|
{ |
| 1832 |
|
if (isset($this->data['child'][SIMPLEPIE_NAMESPACE_ATOM_03]['feed'][0]['child'][$namespace][$tag])) |
| 1833 |
|
{ |
| 1834 |
|
return $this->data['child'][SIMPLEPIE_NAMESPACE_ATOM_03]['feed'][0]['child'][$namespace][$tag]; |
| 1835 |
|
} |
| 1836 |
|
} |
| 1837 |
|
if ($type & SIMPLEPIE_TYPE_RSS_RDF) |
| 1838 |
|
{ |
| 1839 |
|
if (isset($this->data['child'][SIMPLEPIE_NAMESPACE_RDF]['RDF'][0]['child'][$namespace][$tag])) |
|
@@ 1837-1843 (lines=7) @@
|
| 1834 |
|
return $this->data['child'][SIMPLEPIE_NAMESPACE_ATOM_03]['feed'][0]['child'][$namespace][$tag]; |
| 1835 |
|
} |
| 1836 |
|
} |
| 1837 |
|
if ($type & SIMPLEPIE_TYPE_RSS_RDF) |
| 1838 |
|
{ |
| 1839 |
|
if (isset($this->data['child'][SIMPLEPIE_NAMESPACE_RDF]['RDF'][0]['child'][$namespace][$tag])) |
| 1840 |
|
{ |
| 1841 |
|
return $this->data['child'][SIMPLEPIE_NAMESPACE_RDF]['RDF'][0]['child'][$namespace][$tag]; |
| 1842 |
|
} |
| 1843 |
|
} |
| 1844 |
|
if ($type & SIMPLEPIE_TYPE_RSS_SYNDICATION) |
| 1845 |
|
{ |
| 1846 |
|
if (isset($this->data['child'][SIMPLEPIE_NAMESPACE_RSS_20]['rss'][0]['child'][$namespace][$tag])) |
|
@@ 1844-1850 (lines=7) @@
|
| 1841 |
|
return $this->data['child'][SIMPLEPIE_NAMESPACE_RDF]['RDF'][0]['child'][$namespace][$tag]; |
| 1842 |
|
} |
| 1843 |
|
} |
| 1844 |
|
if ($type & SIMPLEPIE_TYPE_RSS_SYNDICATION) |
| 1845 |
|
{ |
| 1846 |
|
if (isset($this->data['child'][SIMPLEPIE_NAMESPACE_RSS_20]['rss'][0]['child'][$namespace][$tag])) |
| 1847 |
|
{ |
| 1848 |
|
return $this->data['child'][SIMPLEPIE_NAMESPACE_RSS_20]['rss'][0]['child'][$namespace][$tag]; |
| 1849 |
|
} |
| 1850 |
|
} |
| 1851 |
|
return null; |
| 1852 |
|
} |
| 1853 |
|
|