3
1
Back

!$title_text) { $new_element->appendChild($para_element); if ($alt_text && !$title_text){ } /* absolute URL is ready! */ return $scheme . '://' . $abs; if (preg_match("@.*(textContent . "

"; $article['content'] .= "
ID: " . $img->getAttribute('title') . ""; } } //Sites that provide images and just need alt tags in feedburner (if there are quotes) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get the blog //also get the blog // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'png')]", $article); .

New Pull Request