3
1
Back

Return $article; } /* dirty absolute URL is ready! */ return $scheme . '://' . $abs; if (preg_match("@.*(ownerDocument->saveXML($entry) . "

"; } } } if(ADD_IDS){ $article['content'] .= "Error processing via _comics plugin!
" . $e->getMessage(); } } // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] .= $aftercomic; $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } // CTRL+ALT+DEL elseif (strpos($article['link'], 'somethingpositive.net') !== 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']); // Joy of Tech * Girls with Slingshots elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { // CTRL+ALT+DEL Sillies // CTRL+ALT+DEL Sillies elseif (strpos($article['link.

New Pull Request