Labels Milestones
BackDefine('ADD_IDS', True); define('ADD_IDS', False); define("GDORN_DEBUG", False); class _comics extends Plugin { function hook_render_article($article) { return $rel; } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } catch (Exception $e) { $article['content'] .= "
ID: " . $article['id']; } return $article; } function hook_render_article($article) { } module make_step(bottom_element="switch") { // Camp Weedonwantcha elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($bread_page_url); $extraimage = $xpath->query("//img[@class='extrapanelimage']")->item(0); //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "
Alt: $alt_text"; list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags if both exist achewood, gwss fix, fix for when invisiblebread has no bread Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "
" . $entry->textContent.
New Pull Request