3
1
Back

Of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Scenes From A Multiverse (to get alt tags textified. $doc->loadHTML($article['content']); //no-op $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Breaking Cat News elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); // Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks) 2015-02-26 14:56:18 -08:00 From 48c8a4e4f4fcbe006366a8816f63cc69d2b79d5a Mon Sep 17 00:00:00 2001 Subject: [PATCH] Build images.

New Pull Request