3
1
Back

(cleanup elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Girls with Slingshots * Three Panel Soul // Three Panel Soul // Two Lumps elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { main MK_VCO/Panels/FireballSpell_Large_bw.png.svg 58 lines # Precision ADSR build notes Change C13 to 10 nF v1.1 define("GDORN_DEBUG", False); class _comics extends Plugin { function about() { return $base . $rel; } if ($rel[0] == '/') { $path = preg_replace('#/[^/]*$#', '', $path); /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } //Sites that provide images and just need alt tags textified. //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'gunnerkrigg.com/?p') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; // only keep everything starting at the first foreach($imgs as $img){ $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) .

New Pull Request