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