Linux and Open Source News

    “;
    $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 “

“;
?>

    “;
    $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 “

“;
?>

    “;
    $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 “

“;
?>

    “;
    $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 “

“;
?>

Leave a Reply

Your email address will not be published. Required fields are marked *