At the first // only keep everything starting at the first if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "" . $entry->textContent . ""; } } // Poly In Pictures elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); } // Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] .
" . $entry->textContent . "
alt
click/enter