3
1
Back

I Know) $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { // Gunnerkrigg Court elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] .= "Error processing via _comics plugin!" . $e->getMessage(); if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { // Three Panel Soul elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup) elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { // Alice Grove (get bigger image) // Alice Grove (get bigger image) // Alice Grove bigger img elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } module.

New Pull Request