Php RSS collection ????? I have always wanted to add some RSS news links to my website to display news summaries and connect them to the source. Today, I have time to organize it myself. the company can only access ITEye, paste the code, and prepare for future reference. & Lt; html & gt; & lt; head & gt; & lt; title & gt; CB acquisition test & lt; title & gt; & lt; head & gt; & lt; style & g php RSS collection
????? I have always wanted to add some RSS news links to my website to display news summaries and connect them to the source.
Today, I have time to organize it myself. the company can only access ITEye, paste the code, and prepare for future reference.
CB acquisition test
Channel-> item as $ item) {echo""; Echo" [". $ item-> category."] link ."? F = mail.fbse.cn> ". $ item-> title." ". $ item-> pubDate." --- ". cbTimeSet ($ item-> pubDate); echo"
"; Echo"". $ Item-> description ."
"; Echo"";} Echo $ rss; // date_default_timezone_set ('Asia/Shanghai'); // $ rfc822 = 'Mon, 16 Aug 2010 00:11:49 GMT '; // $ I = date ('Y-m-d H: I: S', strtotime ($ rfc822); // echo $ I;?>
?
?