- Del RSS:
http://boe.es/rss/canal_leg.php?l=l&c=127
- Me da el siguiente error:
Invalid argument supplied for foreach()
- He puesto como código PHP, el siguiente:
<?php
foreach($canal_cd as $item){
echo '<li>'.$html->link($item->get_date('d.m.Y').' '.$item->get_title(), $item->get_permalink(), array('target'=>'_blank')).'</li>';
}
?>
- ¿Alguien puede ayudarme?
Gracias.