print "

    “;
    $url=”http://feedproxy.google.com/linuxtoday/linux”;
    $num_items = 10;
    $rss = fetch_rss($url);
    $items = array_slice($rss->items, 0, $num_items);
    foreach ($rss->items as $item ){
    $title = $item[title];
    $url = $item[link];
    echo “
  • $title
  • “;}
    print “

“;
?>


print "

    “;
    $url=”http://lxer.com/module/newswire/headlines.rss”;
    $num_items = 10;
    $rss = fetch_rss($url);
    $items = array_slice($rss->items, 0, $num_items);
    foreach ($rss->items as $item ){
    $title = $item[title];
    $url = $item[link];
    echo “
  • $title
  • “;}
    print “

“;
?>


print "

    “;
    $url=”http://www.linux.com/feature/?theme=rss”;
    $num_items = 10;
    $rss = fetch_rss($url);
    $items = array_slice($rss->items, 0, $num_items);
    foreach ($rss->items as $item ){
    $title = $item[title];
    $url = $item[link];
    echo “
  • $title
  • “;}
    print “

“;
?>


print "

    “;
    $url=”http://rss.slashdot.org/Slashdot/slashdotLinux”;
    $num_items = 10;
    $rss = fetch_rss($url);
    $items = array_slice($rss->items, 0, $num_items);
    foreach ($rss->items as $item ){
    $title = $item[title];
    $url = $item[link];
    echo “
  • $title
  • “;}
    print “

“;
?>

 

3 Comments

 

  1. Pingback : Speedlinks - 18 September 2008 | Linux Screw

  2. Pingback : 10 years ago Linux news (Sep, 1998)... | Linux Screw

  3. June 11, 2013  10:02 pm by Juegos Online Reply

    you are really a just right webmaster. The website loading velocity is
    incredible. It sort of feels that you are doing any unique
    trick. In addition, The contents are masterpiece. you've performed a fantastic activity on this subject!

Leave a reply

 

Your email address will not be published.