2
<channel>
<title>Company</title>
<link>http://www.ndroid360.com/companypms/index.php/main_con</link>
<description>Companypms - By Keyur Modi </description>
<language>en-us</language>
<image>
<title>Company</title>
<url>http://www.ndroid360.com/companypms/public/admin/dashboard/images/keyur.jpg</url>
<link>http://www.ndroid360.com/companypms/index.php/main_con</link>
<width>90</width>
<height>36</height>
</image>
<item>
<title>Project Add</title>
<link>http://www.ndroid360.com/companypms/index.php/main_con</link>
<description>
OK, modi sarkar
</description>
</item>
<item>
<title>A Post Title</title>
<guid isPermaLink="true">http://www.mydomain.com/file-location/</guid>
<link>http://www.ndroid360.com/companypms/index.php/main_con</link>
<pubDate>Wed, 30 Apr 2009 23:00:00 +1100</pubDate>
<description><![CDATA[ <p>This is a brief summary of the post, so tempting that noone will be able to resist clicking through.</p> ]]></description>
</item>
</channel>
我想在第二個後面放一個圖片<item></item>
-tag。我能做什麼?xml/rss文件創建者
請改善問題。第二個標籤? –
據我所知,'channel'內只允許有一個'image'元素。您將離開規範http://www.rssboard.org/rss-specification – KingCrunch
可能的重複[用PHP解析RSS/Atom提要的最佳方式](http://stackoverflow.com/questions/250679/best-way -to-解析-RSS原子的進料與 - PHP)。其中大部分可以回寫到提要。由於RSS是XML,它也是[PHP的最佳XML解析器]的可能重複(http://stackoverflow.com/questions/188414/best-xml-parser-for-php/3616044#3616044) – Gordon