Got bored and started messing with pictures, it reminds me of a scanner darkly 🙂
Self Portrait Art For Sale
[phpbay]self portrait art, 15, “”, “”[/phpbay] [phpbay]fine art nude, 6, “”, “”[/phpbay]
News About Self Portraits [insert_php] $rss = new DOMDocument(); $rss->load(‘http://news.google.com/news?output=rss&q=[self+portrait]’); $feed = array(); foreach ($rss->getElementsByTagName(‘item’) as $node) { $item = array ( ‘title’ => $node->getElementsByTagName(‘title’)->item(0)->nodeValue, ‘desc’ => $node->getElementsByTagName(‘description’)->item(0)->nodeValue, ‘link’ => $node->getElementsByTagName(‘link’)->item(0)->nodeValue, ‘date’ => $node->getElementsByTagName(‘pubDate’)->item(0)->nodeValue, ); array_push($feed, $item); } $limit = 7; for($x=0;$x<$limit;$x++) {
$title = str_replace(' & ', ' & ', $feed[$x]['title']);
$link = $feed[$x]['link'];
$description = $feed[$x]['desc'];
$date = date('l F d, Y', strtotime($feed[$x]['date']));
echo '‘.$title.’ ‘; echo ‘Posted on ‘.$date.’‘; echo ”.$description.’ ‘; } [/insert_php] |
|