3
1
Back

Different than this foreach($imgs as $img){ foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] .= "ID: " . $article['id']; } function about() { return $rel; } if (ADD_IDS) { $new_element->appendChild($para_element); if ($alt_text && $alt_text != $article['title']){ $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { // PhD Unknown elseif (strpos($article["link"], "www.pilotside.us/comic/") !== FALSE) { // CTRL+ALT+DEL elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] .= "Alt: " . $img->getAttribute('title') . ""; // Camp Weedonwantcha elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // additives - labels, etc.

New Pull Request