getModule (558, 15789, "obj_id");*/ $moduleActus = reflex\cms\module\ModuleFactory::getModule (559, 15789); $arrObjects = $moduleActus->getObjects(); // dŽmarrage de la chaine XML finale $strXMLRSS = " FIM http://www.fim.net Toutes les derničres informations de la FIM fr FIM 2013 "; // prŽparation de la XSL de transformation $strXSL = " <item> <title><![CDATA[]]></title> <guid><![CDATA[http://www.fim.net/main/core.php?pag_id=]]></guid> <link><![CDATA[http://www.fim.net/main/core.php?pag_id=]]></link> <description><![CDATA[]]></description> <pubDate></pubDate> </item> Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 00:00:00 GMT "; $params = array (); foreach ($arrObjects as $objArticle) { // foreach ($arrObjId as $intObjId) { $xslt = new \ReflexCustom\classes\XSLTTransform ($objArticle, $strXSL); $strXMLRSS .= $xslt->process ($params); /* $objObject = new object ($intObjId); $arrParams = array (); $arrParams["intOwnerPagId"] = $objObject->intOwnerPagId; $objDataConnector = new xmlDataConnector ("database", false); $strObjectXMLContent = $objDataConnector->readData ($intObjId); $objXslt = new xsltTransform ($strObjectXMLContent, $strXSL); $strObjectXMLFinal = $objXslt->xsltProcess ($arrParams); $strXMLRSS .= $strObjectXMLFinal; */ // } } $strXMLRSS .= " "; //print (""); header('Content-Type: application/xml'); print ( ($strXMLRSS)); ?>