3
1
Back

$doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } } if(ADD_IDS){ $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//div[@class='entry']"); // VG Cats $vgcats_url = $vgcats_url_node->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link.

New Pull Request