3
1
Back

Trim($img->getAttribute('title')); $title_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, "//div[@class='timeline-description']", $article); $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'png')]", $article); elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { //also get blog entry $article['content'] .= "
Alt: $alt_text
"; } } // Breaking Cat News elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } if(ADD_IDS){ $article['content'] .= "$orig_content"; // Awkward Zombie elseif (strpos($article['link.

New Pull Request