日期:2014-05-18  浏览次数:20421 次

RSS订阅是如何实现的 ?
RSS订阅是如何实现的 ?
我用了RSStoolkit控件
但是却找不到GenericRssChannel类
在处理程序中也继承不了RSStoolkit的类

请问各位是如何实现这个订阅功能的?
有具体的代码吗?

------解决方案--------------------
很简单,就是生成一个标准的rss XML就可以了,你可以参考http://www.fotoever.com/rss.aspx?d=fashion&f=1 
其他你都不用管,只要用代码生成这个XML就可以了 

XML如下: 

<?xml version="1.0" encoding="gb2312" ?> 
<rss version="2.0"> 
<channel> 
<title>第一时尚-时装 </title> 
<link>http://www.fotoever.com </link> 
<description>图e资源聚合器 </description> 
<item> 
<title> 
<![CDATA[ “JiaPang”女孩色彩语言 
]]> 
</title> 
<link> 
<![CDATA[ http://fashion.fotoever.com/fashionread.aspx?articleid=40396%26class=10 
]]> 
</link> 
<author> 
<![CDATA[ 缘木 
]]> 
</author> 
<description> 
<![CDATA[ 
]]> 
</description> 
<pubDate> 
<![CDATA[ Mon, 23 Feb 2009 10:39:45 GMT 
]]> 
</pubDate> 
</item> 
<item> 
</description> 
<pubDate> 
<![CDATA[ Thu, 05 Feb 2009 13:06:08 GMT 
]]> 
</pubDate> 
</item> 
</channel> 
</rss>
------解决方案--------------------
参考
------解决方案--------------------

------解决方案--------------------
帮顶,学习
------解决方案--------------------
可以自己编写一个xml格式rss