3
1
Back

!== FALSE && Various updates, additions elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // Alice Grove (get bigger image elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $img_tag . $article['content']; } // Camp Weedonwantcha elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // draws two walls in parallel, close.

New Pull Request