FeedFinder::_opml_rss_uris PHP Метод

_opml_rss_uris() публичный Метод

* FeedFinder::_get ()
public _opml_rss_uris ( )
    function _opml_rss_uris()
    {
        // Really we should parse the XML and use the structure to
        // return something intelligent to programs that want to use it
        // Oh babe! maybe some day...
        $opml = $this->data();
        $rx = FeedWordPressHTML::attributeRegex('outline', 'xmlUrl');
        if (preg_match_all($rx, $opml, $matches, PREG_SET_ORDER)) {
            foreach ($matches as $m) {
                $match = FeedWordPressHTML::attributeMatch($m);
                $r[] = $match['value'];
            }
        }
        return $r;
    }