Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1169 → Rev 1170

/trunk/papyrus/applettes/syndication/syndication.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: syndication.php,v 1.1 2006-12-13 17:06:36 jp_milcent Exp $
// CVS : $Id: syndication.php,v 1.2 2006-12-13 17:20:51 jp_milcent Exp $
/**
* papyrus_bp - syndication.php
*
33,7 → 33,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 1999-2006
*@version $Revision: 1.1 $ $Date: 2006-12-13 17:06:36 $
*@version $Revision: 1.2 $ $Date: 2006-12-13 17:20:51 $
// +------------------------------------------------------------------------------------------------------+
*/
 
190,8 → 190,11
// Gestion des pages syndiquées
$i = 0;
$nb_item = count($rss->items);
foreach ($rss->items as $item) {
if ($options['nb'] != 0 && $nb_item >= $options['nb'] && $i >= $options['nb']) {
break;
}
$i++;
$aso_page = array();
$aso_page['site'] = $aso_site;
$aso_page['url'] = $item['link'];
225,9 → 228,6
$aso_page['date'] = strftime('%d.%m.%Y %H:%M', strtotime($aso_page['date']));
}
}
if ($options['nb'] != 0 && $nb_item >= $options['nb'] && $i >= $options['nb']) {
break;
}
$aso_site['pages'][] = $aso_page;
$GLOBALS['_SYNDICATION_']['pages'][strtotime($aso_page['date'])] = $aso_page;
}
259,7 → 259,10
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2006/12/13 17:06:36 jp_milcent
* Ajout de l'applette Syndication.
*
*
* +-- Fin du code ----------------------------------------------------------------------------------------+
*/
?>