cache_dir = 'cache_titulares'; $rss->cache_time = 1200; $rss->date_format = (' d.m.Y H:i '); // Try to load and parse RSS file if ($rs = $rss->get('http://news.google.cl/news?num=50&hl=es&newwindow=1&biw=944&bih=988&q=zapallar+OR+cachagua+OR+maitencillo+OR+papudo+OR+puchuncav%C3%AD+OR+%22La+Ligua%22+OR+catapilco+OR+petorca+-%22El+Zapallar%22&um=1&ie=UTF-8&output=rss')) { // Show last published articles (title, link, description) echo "
    \n"; foreach($rs['items'] as $item) { echo "\t
  • ".$item['pubDate']." UTC
    ".$item['title']."
  • \n"; } echo "
\n"; } else { echo "Error: no es posible mostrar el Índice de Noticias...\n"; } ?>