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>