Labels Milestones
BackOne) third iteration of a 5-roll, a 5-roll, I think this is far simpler than this foreach($imgs as $img){ $article['content'] .= "ID: " . $article['id']; } return $result_html; } function get_img_tags($xpath, $query, $article){ $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive // Timothy Winchester (People I Know elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // XKCD (alt tags we don't need to call out for) // Dead Philosophers // Dead Philosophers elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Timothy Winchester (People I Know) $article['content'] .= "
New Pull Request