3
1
Back

Supported if (strpos($article["link"], "penny-arcade.com") !== FALSE ) { // Breaking Cat News elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Wondermark (alt tag already present) // Wondermark (alt tag already present foreach($imgs as $img){ $article['content'] .= "

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

"; // only keep everything starting at the first.

New Pull Request