3
1
Back

Positive $alt_text = $entry->getAttribute('title'); $alt_text = trim($entry->getAttribute('alt')); $alt_text = trim($img->getAttribute('alt')); if (!$alt_text || strpos($article['title'], $title_text) !== false){ // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); } function hook_render_article($article) { } if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { // Joy of Tech elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { // slightly complicated; the link is to say, a work.

New Pull Request