3
1
Back

'track'" From f12031bb4117bdc0bfa93734f5e1f978a14297b0 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Added BCN, Something Positive if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Eat That Toast elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); } // Dead Philosophers elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { // Scenes From A Multiverse (to get alt tags textified. } //Sites that provide images and just need alt tags if both exist Updated LICD, alter alt-textify to handle both title and alt tags if both exist achewood, gwss fix, fix for when invisiblebread has no bread Pain Train (to get alt tag) elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { //no-op function rel2abs($rel, $base) { function get_img_tags($xpath, $query, $article){ /* dirty absolute URL */ $abs = "$host$path/$rel"; function rel2abs($rel, $base) { Various updates, additions // PhD Unknown elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { // Poly In Pictures elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // CTRL+ALT+DEL Sillies // Two Lumps // Two Lumps $orig_content = strip_tags($article['content']); // Awkward Zombie elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } /* dirty absolute URL is ready! */ return $scheme . '://' . $abs; } From 2cddc4d62d38c9e1b69839f92a19e7915eecbceb Mon Sep 17 00:00:00 2001 Subject: [PATCH 01/18] Added hard sync to schematic, laid out.

New Pull Request