3
1
Back

Secondary Licenses", as defined elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); } Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // only keep everything starting at the first // only keep everything starting at the first if (preg_match("@.*(get_xpath_dealie($article['link']); // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); $title_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); } elseif ($alt_text == $title_text){ .

New Pull Request