Lines Matching refs:feeds
188 $feeds = [];
189 $feeds = array_merge($feeds, $this->search_elements_by_tag('link', $done, $feeds));
190 $feeds = array_merge($feeds, $this->search_elements_by_tag('a', $done, $feeds));
191 $feeds = array_merge($feeds, $this->search_elements_by_tag('area', $done, $feeds));
193 if (!empty($feeds)) {
194 return array_values($feeds);
200 protected function search_elements_by_tag($name, &$done, $feeds)
224 if (!in_array($href, $done) && in_array('feed', $rel) || (in_array('alternate', $rel) && !in_array('stylesheet', $rel) && $link->hasAttribute('type') && in_array(strtolower($this->registry->call(Misc::class, 'parse_mime', [$link->getAttribute('type')])), ['text/html', 'application/rss+xml', 'application/atom+xml'])) && !isset($feeds[$href])) {
231 $feeds[$href] = $feed;
238 return $feeds;