当前位置: 首页 > 网络学院 > XML相关教程 > RSS > <cloud>
The <cloud> element is used to register processes with a cloud to be notified immediately of updates of the channel.
<cloud>元素的作用是:允许所有进程注册一个cloud用于获得频道的更新通知,并为rss种子实现一个轻量级的发布订阅协议。
Note: Clouds can be implemented in either xml-rpc or soap.
注意:Clouds 可以在 xml-rpc 或 soap 中运行。
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0"> <channel> <title>ruanchen Home Page</title> <link>http://www.ruanchen.com</link> <description>Free web building tutorials</description> <cloud domain="www.ruanchen.com" port="80" path="/RPC" registerProcedure="NotifyMe" protocol="xml-rpc" /> <item> <title>RSS Tutorial</title> <link>http://www.ruanchen.com/tech/school/rss</link> <description>New RSS tutorial on ruanchen</description> </item>
</channel> </rss> |