Labels Milestones
Back$xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry) { $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; // only keep everything starting at the first" . $entry->textContent . "
"; } } //noop elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { //noop $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get blog entry $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); $alt_text = trim($entry->getAttribute('title')); $result_html .= "Alt: " . $img->getAttribute('title') . ""; } //noop elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) . New Pull Request