3
1
Back

Outs: elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $doc = new DOMDocument(); elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ $text_element = $doc->createElement("i", $title_text); } elseif (strpos($alt_text, $title_text) !== False) { $alt_text = trim($entry->getAttribute('title')); $result_html .= "
Alt: " . $img->getAttribute('title') . ""; // only keep everything starting at the first part Binary files /dev/null and b/Images/PXL_20210831_001017829.jpg differ Binary files /dev/null and b/3D.

New Pull Request