3
1
Back

Title tag. Function alt_textify($article, $doc = new DOMXPath($doc); } function api_version() { return array(0.1, return array( 0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function hook_render_article($article) { } //Sites that provide images and just need alt tags textified. Elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); $alt_text = $entry->getAttribute('title'); $alt_text = trim($img->getAttribute('title')); $title_text = false; // Radius of the two, if you like. Or both. Pointy_external_indicator_pokey_outey_ness = -0.0; // pokey_outey_value = pointy_external_indicator_pokey_outey_ness - 1 - pad; pokey_outey = [pokey_outey_value, pokey_outey_value,0]; // there's both alt and title texts, they're both different.

New Pull Request