3
1
Back

The Oatmeal $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } foreach($imgs as $img){ if ($img->getAttribute('title')) { // Wondermark (alt tag already present elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = str_replace('comicsthumbs', 'comics', $article['content']); foreach ($entries as $entry) { $article['content'] = preg_replace("@@", '', $article['content']); Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(ownerDocument->saveXML($entry) . "

"; // Wondermark (alt tag already present elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath .

New Pull Request