RSS <textInput> 元素
完整 RSS 參考手冊
定義和用法
<textinput> 元素規(guī)定應(yīng)當(dāng)與 feed 一同顯示的文本輸入域。
提示和注釋
注意: 大多數(shù)聚合器忽略 <textInput> 元素。
<textInput> 的子元素
標(biāo)簽 | 描述 |
<description> | 必需。定義對文本輸入域的描述。 |
<name> | 必需。定義在文本輸入域中的文本對象的名稱。 |
<link> | 必需。定義處理文本輸入的 CGI 腳本的 URL。 |
<title> | 必需。定義文本輸入域中的提交按鈕的標(biāo)注 (label)。 |
實例
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
??<title>W3CSchool Home Page</title>
??<link>http://www.w3cschool.cn</link>
??<description>Free web building tutorials</description>
??<textinput>
????<description>Search Google</description>
????<title>Search</title>
????<link>http://www.google.no/search?</link>
????<name>q</name>
??</textinput>
??<item>
????<title>RSS Tutorial</title>
????<link>http://www.vxbq.cn/s/rss</link>
????<description>New RSS tutorial on W3CSchool</description>
??</item>
</channel>
</rss>
嘗試一下 ?
完整 RSS 參考手冊