Labels Milestones
BackI Know elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); } elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // Two Lumps elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Robot Hugs $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $orig_src = $entry->getAttribute('src'); $new_src = $this->rel2abs($orig_src, $base_url); foreach($attributes as $attrib_name => $node){ } function rel2abs($rel, $base) { if (preg_match("@.*?(