3
1
Back

Toggle_switch_6_8mm() { // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); } elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE || strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } //Sites that provide images and just need alt tags if both exist elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { //also append the blarg post because that's small, interesting, //also append the blarg post because that's small, interesting, //also append.

New Pull Request