3
1
Back

Visible if (preg_match("@.*(textContent . "

"; } } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Chainsawsuit // Chainsawsuit elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } //Sites that provide images and just need alt tags if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "" . $entry->textContent . "

"; } } if(ADD_IDS){ $article['content'] .= "

" . $entry->textContent . "

"; } } // Joy of Tech elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $article['content'] .= "
" . $msg . ""; } } Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article.

New Pull Request