3
1
Back

Elseif ($title_text && !$alt_text){ $text_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif (strpos($title_text, $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. } elseif (strpos($title_text, $alt_text) !== False) { if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Dilbert elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href.

New Pull Request