3
1
Back

= $xpath->query("//img[@class='extrapanelimage']")->item(0); $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="webcomic-image"]//img)', $article); } elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // Something Positive elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $doc = new DOMXpath($doc); $vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Some comics supported if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comicFrame"])', $article); } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { //also append the blarg post because that's.

New Pull Request