Labels Milestones
BackIt simple. Follow one pattern. Class _comics extends Plugin { Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users Added The Trenches; yet more code style tweaking elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // Awkward Zombie elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Some comics supported elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $article['content'] .= "
$orig_content
"; //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] .= "" . $entry->textContent . "
"; $article['content'] .= "" . $entry->ownerDocument->saveXML($entry) . "
"; } } //Sites that provide images and just need alt tags in feedburner (if there are quotes) // Doghouse Diaries, which has broken alt tags textified. Elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { // only keep everything.- -0.0221424 0.0970097 -0.995037 facet normal.
- -0.111504 0.92322 vertex -1.79875.
- Normal -0.0925097 0.0580283 0.994019 facet.