Labels Milestones
BackPositive Added BCN, Something Positive elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // Joy of Tech Scenes From A Multiverse (to get alt tags textified. Elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // Joy of Tech elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $article['content'] .= "
" . $entry->ownerDocument->saveXML($entry) . "
"; } } if(ADD_IDS){ $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "
"; } } Clean up code formatting; added a few mm further from the side (HP hole_dist_side . New Pull Request