3
1
Back

Title tag. Function alt_textify($article, $doc = new DOMDocument(); elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { // only keep everything starting at the first elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $article['content'] = $img; } } .

New Pull Request