3
1
Back

_comics/init.php 334 lines if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "ID: " . $article['id']; } return $article; } function mangle_article($article) { // SatW // SatW elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // XKCD (alt tags we don't lose it d433f7c09a85cc6fc15536169665e257a929b9f6 Add the label font so we don't need to call out for) $article['content'] = $matches[1]; } } } if ($rel[0]=='#' || $rel[0]=='?') { $path = preg_replace('#/[^/]*$#', '', $path); if.

New Pull Request