3
1
Back

Wall } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $base . $rel; } if ($alt_text && !$title_text){ $text_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } $img->parentNode->replaceChild($new_element, $img); } function init($host) { // And get blog //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); // Wondermark (alt tag already present elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE.

New Pull Request