3
1
Back

Rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . ""; $img_tag = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); // And get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); // Penny Arcade if (strpos($article["link"], "penny-arcade.com") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { //also get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } //Sites that provide images and just need alt tags if both exist achewood, gwss fix, fix for when invisiblebread has no bread 2016-05-21 17:02:21 -07:00 elseif (strpos($article["content"], "//www.vgcats.com/comics/?strip_id=") !== FALSE) { $article['content'] .= "
$orig_content
"; } // Questionable Content (cleanup) // Questionable Content (cleanup) // Questionable Content (cleanup) // Questionable Content (cleanup) // Questionable Content (cleanup) // Questionable Content (cleanup elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { if (anchor_hole=="right" || anchor_hole=="both") { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // Doghouse Diaries, which has the right sub-panel top_row = height - v_margin - title_font_size*1.5; top_row.

New Pull Request