3
1
Back

A borked RSS feed elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= $aftercomic; $article['content'] .= "

" . $entry->textContent . "

"; } } } // Two Lumps elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] .= "
" . $msg . ""; } } // Dead Philosophers $doc->loadHTML($article['content']); // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this // only keep everything starting at the first $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } Invisible Bread, Softer World (alt tags we don't lose it 734cf9b18c60a281be644f29cc7855602eaad99d Fix annoyance of 2x05 IDC header THT 1x16 1.00mm single row Through.

New Pull Request