3
1
Back

$title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { "spice_external_command": "spice \"%I\"", More tweaks after pro review Fireball/Fireball.kicad_pro | 104 Fireball/Fireball.kicad_sch | 6 Latest commits for file Fireball/Fireball.kicad_pro Latest commits for branch bugfix/10hp Am totally not using git correctly // Achewood (alt tag) elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] = $img_tag . $article['content']; } // Joy of Tech elseif (strpos($article['link'], 'jesusandmo.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='comic']", $article); //also get the blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users else { cube([12.25.

New Pull Request