3
1
Back

$this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } function hook_render_article($article) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'png')]", $article); } // Gunnerkrigg Court elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } if(ADD_IDS){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) .

New Pull Request