Lines Matching defs:rel
211 if ($link->hasAttribute('href') && $link->hasAttribute('rel')) {
212 $rel = array_unique($this->registry->call(Misc::class, 'space_separated_tokens', [strtolower($link->getAttribute('rel'))]));
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])) {
280 public function get_rel_link($rel)
292 $query = '//a[@rel and @href] | //link[@rel and @href]';
315 $rel_values = explode(' ', strtolower($link->getAttribute('rel')));
316 if (in_array($rel, $rel_values)) {