RSS cloud 元素
定義和用法
<cloud> 元素允許所有進程註冊一個cloud,用於獲得頻道的更新通知,並為rss 種子實現一個輕量級的發布訂閱協議。
提示和註釋
注意: xml-rpc或soap均可實現cloud。
實例
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>W3CSchool Home Page</title>
<link>http://www.w3cschool.cc</link>
<description>Free web building tutorials</description>
<cloud domain="www.w3cschool.cc" port="80" path="/RPC"
registerProcedure="NotifyMe" protocol="xml-rpc" />
<item>
<title>RSS Tutorial</title>
<link>http://www.w3cschool.cc/rss</link>
<description>New RSS tutorial on W3CSchool</description>
</item>
</channel>
</rss>
<rss version="2.0">
<channel>
<title>W3CSchool Home Page</title>
<link>http://www.w3cschool.cc</link>
<description>Free web building tutorials</description>
<cloud domain="www.w3cschool.cc" port="80" path="/RPC"
registerProcedure="NotifyMe" protocol="xml-rpc" />
<item>
<title>RSS Tutorial</title>
<link>http://www.w3cschool.cc/rss</link>
<description>New RSS tutorial on W3CSchool</description>
</item>
</channel>
</rss>
完整RSS參考手冊