3
1
Back

$article); //also get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; Invisible Bread, Softer World (alt tags we don't need to call out for) $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; } } // Joy of Tech elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Eat That Toast bog-standard example if.

New Pull Request