3
1
Back

: cone_indents_count]) { ef3a1f8c03 Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); $article['content'] .= "

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

"; } } // Breaking Cat News elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

" . $entry->textContent . "

"; } } // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // And get blog elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath.

New Pull Request