3
1
Back

$article); //Sites that provide images and just need alt tags if both exist achewood, gwss fix, fix for when invisible bread has no bread $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); } // Something Positive $alt_text = $entry->getAttribute('alt'); $alt_text = trim($img->getAttribute('title')); $title_text = trim($img->getAttribute('title')); if (!$alt_text) { $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, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } Some comics supported elseif (strpos($article['link'], 'paintraincomic.com/comic.

New Pull Request