3
1
Back

// Jesus & Mo elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $aftercomic = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $article['content'] .= "
$orig_content
"; // Awkward Zombie elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "

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

" . $entry->textContent . "

"; $article['content'] .= "

" . $entry->textContent . "

"; } } //Sites that provide images and just need alt tags textified. } //Sites that provide images and just need alt tags if (preg_match("@.*()@", $article['content'], $matches)) { if (strpos($article["content"], "bonus.

New Pull Request