3
1
Back

After the first if(preg_match("@.*()@", $article['content'], $matches)){ // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = str_replace('comicsthumbs', 'comics', $article['content']); foreach ($entries as $entry){ foreach ($entries as $entry){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } module title(string, size=12, halign="center", font=font_for_title) { 88bf85725f Update to 7.0, slider footprint cb3a50e19a More tweaks after pro review elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { // replace the

(containing project wonderful) with nothing $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } Dead Philosophers elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } //Sites that provide images and just need alt tags in feedburner (if there are quotes elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } // Cyanide & Happiness elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { .

New Pull Request