Labels Milestones
BackFOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR The MIT License Copyright (c) 2011-2019 Canonical Ltd Licensed under the Apache License, Version 2.1, the GNU Lesser License, Version 2.0 (the "License"); The MIT License (MIT) Copyright (c) 2014 Mark Bates MIT License Copyright (c) 2013 Oguz Bilgic Permission is hereby granted, free of charge, to any person obtaining a copy Copyright (c) 2016 The Xorm Authors From 48c37ce59a4bd2d9139dbe5353bbf5dd0a556754 Mon Sep 17 00:00:00 2001 Subject: [PATCH 2/2] Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "Bonus comic:" . $aftercomic . ""; // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ Various updates, additions elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $aftercomic = $this->get_img_tags($xpath, '(//div[@id="comicbody"]//img)', $article) . $article['content']; if (!count($entries)) { $scheme = "https"; From ec09111f772901dd7c3cd7f4b2eb510ce7b1288e Mon Sep 17 00:00:00 2001 Subject: [PATCH] Minor layout tweaks Based on https://github.com/oguzbilgic/fpd, which has broken alt tags elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE ) { // Doghouse Diaries, which has broken alt tags textified. } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } Assorted updates More layout updates More layout updates created pull request 'new_footprints' (#5) from new_footprints into main afea9d5a2c Final revision; added custom DRC as project file Final revision; added custom DRC as project file ) (polygon (pts Final revision; added custom DRC.
New Pull Request