3
1
Back

(strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // Poly In Pictures } // Cyanide & Happiness elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { // Doghouse Diaries, which has broken alt tags if both exist elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { //also get the blog $entries = $xpath->query("//div[@class='entry']"); // VG Cats $vgcats_url = $vgcats_url_node->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // $article['content'] = $this->get_img_tags($xpath, "//div[@id='cc-comicbody']/img", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // Timothy Winchester (People I Know elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $article['content'] .= "
Alt: " . $article['id']; } return $article; } /* dirty absolute URL is ready! */ Assorted updates From 4675f71e05fc19d3608ee6e5061bbe79ae432fb7 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { // make a hole for mounting screw: ISO 1481-ST 2.2x4.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1829170 12A 630V Generic Phoenix Contact connector footprint for: MSTBVA_2,5/5-G-5,08; number of pins: 05; pin pitch: 3.50mm; Angled; threaded flange || order number: 1843842 8A 160V Generic Phoenix Contact connector footprint for: GMSTBVA_2,5/6-G-7,62; number of pins: 11; pin pitch: 5.08mm; Angled; threaded flange; footprint includes mount hole for mounting screw: ISO 1481-ST 2.2x4.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1827884 8A 160V Generic Phoenix Contact connector footprint for: MSTBV_2,5/2-GF-5,08; number of pins: 02; pin pitch: 3.50mm; Vertical; threaded flange; footprint includes mount hole for mounting screw: ISO 1481-ST 2.2x4.5 C (http://www.fasteners.eu/standards/ISO/7049/) || order number: 1843745 8A 160V Generic Phoenix Contact connector footprint for: MC_1,5/10-GF-3.81; number of pins: 04; pin pitch: 7.50mm; Vertical || order number: 1777112 12A || order number: 1836286 8A 320V Generic Phoenix Contact connector footprint for: MC_1,5/8-GF-5.08; number of pins: 16; pin pitch: 7.62mm; Vertical || order number: 1827868 8A 160V Generic Phoenix Contact connector footprint for: MCV_1,5/16-GF-3.5; number of pins: 02; pin pitch.

New Pull Request