RSS <textInput> 元素

定义和用法

<textInput> 元素规定应当与 feed 一同显示的文本输入域。

提示和注释

注释:大多数聚合器忽略 <textInput> 元素。

<textInput> 的子元素

标签描述
<description>必需。定义对文本输入域的描述。
<name>必需。定义在文本输入域中的文本对象的名称。
<link>必需。定义处理文本输入的 CGI 脚本的 URL。
<title>必需。定义文本输入域中的提交按钮的标注 (label)。

实例

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>W3School Home Page</title>
<link>http://www.w3school.com.cn</link>
<description>Free web building tutorials</description>
<textinput>
<description>Search Google</description>
<title>Search</title>
<link>http://www.google.cn/search?</link>
<name>q</name>
</textinput>
<item>
<title>RSS Tutorial</title>
<link>http://www.w3school.com.cn/rss</link>
<description>New RSS tutorial on W3School</description>
</item>
</channel>
</rss>