3
1
Back

Anchor_hole=="both") { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif (strpos($title_text, $alt_text) !== False) { $alt_text = $entry->getAttribute('alt'); $alt_text = trim($img->getAttribute('alt')); if (!$alt_text && !$title_text) { $new_element->appendChild($para_element); if ($alt_text && !$title_text){ $text_element = $doc->createElement("i", $alt_text); $title_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); Latest commits for file Samba_Reggae_1.txt Latest commits for file Panels/luther_triangle_10hp.scad Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text //also get blog entry $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry) { elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $doc->saveHTML(); elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { .

New Pull Request