3
1
Back

= $doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // Girls with Slingshots $entries = $xpath->query($query); $result_html = ''; foreach ($entries as $entry) { $article['content'] .= "

" . $entry->textContent . ""; $img_tag = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $article['content'] .= $aftercomic; } } // Cyanide & Happiness elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { // $xpath = new DOMXpath($doc); $imgs .

New Pull Request