3
1
Back

Bottom // you won't need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } elseif (strpos($title_text, $alt_text) !== False) { $alt_text = trim($entry->getAttribute('alt')); $alt_text = trim($entry->getAttribute('title')); $result_html .= "Alt: $alt_text"; Image of caxia score Image of caxia score 531ebcae92 Add html test version Add html test version 0d3d72c49e606725216a5a9a4217e6c039d5a574 bacdac34d747275148c56e8293dc209c2e326fe4 b1fcba1e78f37669542b35a3e32a5257c5c0240c b1fcba1e78f37669542b35a3e32a5257c5c0240c 9060b76361734f9abf9a1c676dd9110e9ced917b Add MK manuals HIHAT_MANUAL.pdf | Bin 0 -> 106084 bytes Panels/luther_triangle_10hp.stl | Bin 0 -> 106084 bytes Panels/luther_triangle_10hp.stl | Bin 0 -> 74084 bytes Docs/precadsr_layout_front.pdf | Bin 56316 -> 69096 bytes } elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } $img->parentNode->replaceChild($new_element, $img); } function rel2abs($rel, $base) { if (!$alt_text || strpos($article['title'], $title_text) !== false){ // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $alt_text); Latest commits for file.

New Pull Request