3
1
Back

If ($alt_text && !$title_text){ $text_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(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } // Least I Could Do (wtf image size? If (preg_match("@.*()@", $article['content'], $matches)) { if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Cyanide & Happiness // Cyanide & Happiness elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Robot Hugs $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as.

New Pull Request