topical media & game development
mashup-flickr-11-Complete-visualizing-news-index.php / php
<?php
// include any required files
require_once(dirname(__FILE__) . '/../lib/visualizing-news.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Beginning Flickr Mashups: Visualizing the News</title>
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<link href="../css/visualizing-news.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Visualizing the News </h1>
<?php
// Initialise the feed URLs
selectedFeed = feedUrls = array_keys(feedUrls as feedUrl ?>" <?php echo (selectedFeed)
? 'selected="selected"' : '' ?>><?php echo feedUrl]?></option>
<?php
}
?>
</select>
<input type="submit" name="Submit" value="Go" />
</form>
<?php
if (!empty(visualizer = new NewsVisualizer(items = visualizer->getTitle() ?></h2>
<p class="news-feed-description"><?php echo items as item->getLink() ?>"
target="_blank"><?php echo item->getDescription() ?></li>
<li class="news-keywords">Keywords: <?php echo join(photos = photos as photo['link'] ?>" target="_blank"><img src="<?php
echo
(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.