3
1
Back

Get_xpath_dealie($link) { } /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. // $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Scenes From A Multiverse (to get alt tags foreach($imgs as $img){ if ($img->getAttribute('title')) { // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif (strpos($title_text, $alt_text) !== false){ } elseif (strpos($alt_text, $title_text) .

New Pull Request