3
1
Back

= $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "
$orig_content
"; } // Camp Weedonwantcha elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Camp Weedonwantcha elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $article['content'] .= "" . $entry->textContent . "

"; } } // Scenes From A Multiverse (to get alt tags elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, //and.

New Pull Request