3
1
Back

Both title and alt tags foreach($imgs as $img){ // Questionable Content (cleanup) elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Cyanide & Happiness elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } 3D Printing/Pot_Knobs/10mm_potentiometer_tool.stl Executable file View File * Joy of Tech elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // XKCD (alt tags we don't need to call out for) $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // h[p] function.

New Pull Request