3
1
Back

Title tag. Function alt_textify($article, $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']//img", $article); } // SatW // SatW elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $title_text) !== False) { $alt_text = $entry->getAttribute('alt'); $alt_text = trim($img->getAttribute('alt')); if (!$alt_text || strpos($article['title'], $alt_text) !== False) { if (!$alt_text && !$title_text) { $new_element->appendChild($para_element); if ($alt_text && $alt_text != $article['title.

New Pull Request