topical media & game development
server-php-micro-flickr-index.php / php
<?php
//
tags = "creative technology";
tags, url = "http://api.flickr.com/services/feeds/photos_public.gne?format=rss2&tags=".fp = fopen(content = '';
while (fp, 1024)) {
line;
}
}
return rssContent){
global before = '<media:thumbnail url="';
imageList = array();
startPos=0;
do {
startPos;
rssContent,startPos) + strlen(endPos = strpos(after,imageList[] = substr(startPos,endPos-startPos);
} while ((oldPos) && (sizeof(imageNumber));
return content = getFlickrRSS();
content);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Micro Flickr </title>
<link href="style/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="main">
<div id="caption">flickr photos -- <?php echo imageList as value.'" /></div></div></td>';
}
echo "</tr></table>";
?>
</div>
<div id="source">Micro Flickr 1.0</div>
</div>
</body>
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.