YouTube
items, 0, 20);
foreach ($items as $item)
{
$desc = htmlspecialchars(substr(strip_tags($item['description']),0,300));
preg_match(’/img src=”([^"]+)”/’,$item["description"],$imgUrlMatches);
$imgurl = $imgUrlMatches[0];
echo ‘‘;
}
}
else {
print ‘Feed may be down’;
}
?>
Google News
items, 0, 20);
echo ‘
- ‘;
- ‘ . $item['title'] . ‘
foreach ($items as $item)
{
$desc = htmlspecialchars(substr(strip_tags($item['description']),0,300));
echo ‘
‘;
}
}
else {
print ‘Feed may be down’;
}
echo ‘
‘;
?>
Technorati
items, 0, 10);
echo ‘
- ‘;
- ‘ . $item['title'] . ‘
foreach ($items as $item)
{
$desc = htmlspecialchars(substr(strip_tags($item['description']),0,300));
echo ‘
‘;
}
}
else {
print ‘Feed may be down’;
}
echo ‘
‘;
?>
Yahoo News
items, 0, 20);
echo ‘
- ‘;
- ‘ . $item['title'] . ‘
foreach ($items as $item)
{
$desc = htmlspecialchars(substr(strip_tags($item['description']),0,300));
echo ‘
‘;
}
}
else {
print ‘Feed may be down’;
}
echo ‘
‘;
?>
Flickr
Digg
items, 0, 20);
echo ‘
- ‘;
- ‘ . $item['title'] . ‘
foreach ($items as $item)
{
$desc = htmlspecialchars(substr(strip_tags($item['description']),0,300));
echo ‘
‘;
}
}
else {
print ‘Feed may be down’;
}
echo ‘
‘;
?>
items, 0, 20);
echo ‘
- ‘;
- ‘ . $item['title'] . ‘
foreach ($items as $item)
{
$desc = htmlspecialchars(substr(strip_tags($item['description']),0,300));
echo ‘
‘;
}
}
else {
print ‘Feed may be down’;
}
echo ‘
‘;
?>
del.icio.us
items, 0, 20);
echo ‘
- ‘;
- ‘ . $item['title'] . ‘
foreach ($items as $item)
{
$desc = htmlspecialchars(substr(strip_tags($item['description']),0,300));
echo ‘
‘;
}
}
else {
print ‘Feed may be down’;
}
echo ‘
‘;
?>