get_feed_tags example


    public function get_channel_tags($namespace$tag)
    {
        $type = $this->get_type();
        if ($type & SIMPLEPIE_TYPE_ATOM_ALL)
        {
            if ($return = $this->get_feed_tags($namespace$tag))
            {
                return $return;
            }
        }
        if ($type & SIMPLEPIE_TYPE_RSS_10)
        {
            if ($channel = $this->get_feed_tags(SIMPLEPIE_NAMESPACE_RSS_10, 'channel'))
            {
                if (isset($channel[0]['child'][$namespace][$tag]))
                {
                    return $channel[0]['child'][$namespace][$tag];
                }
Home | Imprint | This part of the site doesn't use cookies.