Labels Milestones
BackAnd title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); } elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "explosm.net/comics") !== FALSE) { $article['content'] .= "
" . $entry->textContent . "
"; } } // Invisible Bread (make the bread visible $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $img_tag = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $article['content'] .= "" . $entry->textContent . "
"; } } } // Joy of Tech elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $article['content'] = preg_replace("@