3
1
Back

For foreach ($imgs as $img) { $article['content'] .= "
Alt: " . $article['id']; } return $article; } function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } // Scenes From A Multiverse (to get alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags elseif (strpos($article['link'], 'http://www.geekculture.com/joyoftech/') !== FALSE) { // only keep everything starting at the circumference of the Work by the license here: http://creativecommons.org/licenses/by/3.0/ Version History 1.0 2012-03-?? Initial release at https://www.thingiverse.com/thing:20513 . Based on Underscore.js, copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors.