3
1
Back

Hugs $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag already present elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Girls with Slingshots // Girls with Slingshots elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $entries.

New Pull Request