3
1
Back

// just match the height of the Stick $entries = $xpath->query("//span[@class='rss-content']"); 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']"); foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if (strpos($article["link"], "penny-arcade.com") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Least I Could Do.

New Pull Request