RSS <textInput> element
Definition and usage
The <textInput> element specifies the text input field that should be displayed along with the feed.
Tips and notes
Note:Most aggregators ignore the <textInput> element.
Child element of <textInput>
Tag | Description |
---|---|
<description> | Required. Defines the description for the text input field. |
<name> | Required. Defines the name of the text object in the text input field. |
<link> | Required. Defines the URL of the CGI script that handles the text input. |
<title> | Required. Defines the label (text) for the submit button in the text input field. |
Example
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0"> <channel> <title>CodeW3C.com Home Page</title> <link>http://www.codew3c.com</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.codew3c.com/rss</link> <description>New RSS tutorial on CodeW3C.com</description> </item> </channel> </rss>