3
1
Back

Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); } // Scenes From A Multiverse (to get alt tag) // Achewood (alt tag) // Achewood (alt tag) elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $article['content'] .= $aftercomic; $article['content'] .= "" . $entry->textContent . ""; // Softer World (alt tags), Dinosaur Comics Cleanup $entries = $xpath->query($query); $result_html = ''; foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] .= "

" . $entry->textContent . "

"; } } } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $article['content'] .= "ID: " . $img->getAttribute('title') . ""; } } foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content.

New Pull Request