3
1
Back

"//p[@id='comic_body']//a//img", $article); } // CTRL+ALT+DEL elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Questionable Content (cleanup) // Questionable Content (cleanup) $article['content'] .= "" . $entry->textContent . "

"; } } // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } if(ADD_IDS){ $article['content'] .= "

" . $entry->textContent . "

"; } } module smoothing() { // Questionable Content (cleanup elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="main"]//img)', $article); } Clean up code formatting; added a few comics; standardized appending.

New Pull Request