3
1
Back

[PATCH] Dead Philosophers elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } } if(ADD_IDS){ $article['content'] .= "Bonus comic:" . $aftercomic . ""; // Camp Weedonwantcha elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div//img[contains(@src, 'images') and contains(@src, 'png')]", $article); } Assorted updates Assorted updates elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $img; } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup.

New Pull Request