3
1
Back

Users $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Pain Train (to get alt tags elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // Poly In Pictures // Poly In Pictures elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Scenes From A Multiverse (to get alt tags if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .

New Pull Request