RSS <textInput> 要素
定義と用法
<textInput> 要素は feed とともに表示されるべきテキスト入力フィールドを指定します。
ヒントとコメント
注:多くのアグリゲータは <textInput> 要素を無視します。
<textInput> の子要素
タグ | 説明 |
---|---|
<description> | 必須。テキスト入力フィールドの説明を定義します。 |
<name> | 必須。テキスト入力フィールド内のテキストオブジェクトの名前を定義します。 |
<link> | 必須。テキスト入力を処理するCGIスクリプトのURLを定義します。 |
<title> | 必須。テキスト入力フィールドの送信ボタンのラベル(ラベル)を定義します。 |
例
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0"> <channel> <title>CodeW3C.com ホームページ</title> <link>http://www.codew3c.com</link> <description>無料のウェブサイト構築チュートリアル</description> <textinput> <description>Googleで検索</description> <title>検索</title> <link>http://www.google.cn/search?</link> <name>q</name> </textinput> <item> <title>RSSチュートリアル</title> <link>http://www.codew3c.com/rss</link> <description>CodeW3C.comで新しいRSSチュートリアル</description> </item> </channel> </rss>