| | | | | | | Coordinate | |
Contatti |
|
Cerca nel sito | |
Micro Chat | |
Micro Radio | |
Suonerie Gratis | | Servizi vari |
| Oroscopo | |
Link | |
Glossario | | Votami nella Top
100 |
|
Visite dal 17/09/2001 | |
| | | |
######################################################################
# Cattura le notizie da www.punto-informatico.it
# ===========================
#
# Copyright (c) 2000 by Marcello Villani (villani@p2p.it)
# http://www.p2p.it
#
# This program is free software. You can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License.
######################################################################
$puntoelenco = "
|
"; #se vuoi un elenco puntato
$numero_news = 50; #numero massimo di news
$target = "new"; #apro una nuova finestra?
$items = 0;
$filexml = fopen("http://punto-informatico.it/fader/pixml.txt", 'r'); #url del file xml
while(!feof($filexml))
{
$buffer = ltrim(Chop(fgets($filexml, 256)));
if (($buffer == "- ") && ($items < $numero_news))
{
$title = ltrim(Chop(fgets($filexml, 256)));
$link = ltrim(Chop(fgets($filexml, 256)));
$title = ereg_replace( "
", "", $title );
$title = ereg_replace( "\"", "\\\"", $title );
$link = ereg_replace( "", "", $link );
$link = ereg_replace( "", "", $link );
echo( $puntoelenco."
".$title." ");
$items++;
}
} fclose($filexml);?>
|
Se
avete qualche suggerimento da darmi o se volete fare semplicemente un
commento cliccate sul bottoncino mobile in basso a destra |
|