Labels Milestones
Back} catch (Exception $e) { $article['content'] .= "Alt: " . $article['id']; $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debug']) { foreach ($article['debugging'] as $msg) { $article['content'] .= "" . $msg . ""; } } return $article; } /* dirty absolute URL is ready! */ return $scheme.'://'.$abs; return $scheme . '://' . $abs; } From b404e3f9c5cb79c1ce2c1b1d88da892bdd69efea Mon Sep 17 00:00:00 2001 Subject: [PATCH] Updated LICD, alter alt-textify to handle both title and alt tags elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // Joy of Tech elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'comics')]", $article); } // Breaking Cat News elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } if(preg_match("@.*(
- 2x05 1.00mm double row.
- Sunlord, MWSA1205S-3R3, 13.45x12.6x4.8mm, https://sunlordinc.com/Download.aspx?file=L1VwbG9hZEZpbGVzL1BERl9DYXQvMjAyMjExMTUxNDQ4MDU0NTQucGRm&lan=en Inductor, Sunlord.