3
1
Back

(strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "ID: " . $img->getAttribute('title') . ""; } } // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { // slightly complicated; the link is to tumblr, but there's a url in the body text.

New Pull Request