3
1
Back

.= "
Alt: " . $article['id']; } return $article; } function rel2abs($rel, $base) { function get_content($link) { $html = fetch_file_contents($link); Fix for when invisiblebread has no bread Pain Train (to get alt tags textified. Elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Alice Grove bigger img.

New Pull Request