3
1
Back

$title_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ } elseif (strpos($alt_text, $title_text) !== False) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { if (strpos($article["content"], "bonus panel!") !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } module make_step(bottom_element="switch") { // elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*( New Pull Request