3
1
Back

Follow one pattern. Class _comics extends Plugin { function rel2abs($rel, $base) { if (!$alt_text || strpos($article['title'], $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. } elseif ($alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ $text_element = $doc->createElement("i", $title_text); } else if (two_holes_type == "center") { } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img.

New Pull Request