3
1
Back

"board": { More tweaks after pro review elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Girls with Slingshots // Girls with Slingshots $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } // Three Panel Soul elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); } elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $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.

New Pull Request