RSS textInput 元素
定义和用法
textInput 元素规定应当与 feed 一同显示的文本输入域。
提示和注释
注释:大多数聚合器忽略 textInput 元素。
textInput 的子元素
标签 | 描述 |
---|---|
<description> | Diperlukan. Mempertimbangkan deskripsi medan input teks. |
<name> | Diperlukan. Mempertimbangkan nama objek teks dalam medan input teks. |
<link> | Diperlukan. Mempertimbangkan URL skrip CGI untuk mengelola input teks. |
<title> | Diperlukan. Mempertimbangkan label tombol penghantar dalam medan input teks. |
Contoh
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="2.0"> <channel> <title>Laman Utama CodeW3C.com</title> <link>http://www.codew3c.com</link> <description>Panduan pembangunan web percuma</description> <textinput> <description>Cari Google</description> <title>Cari</title> <link>http://www.google.cn/search?</link> <name>q</name> </textinput> <item> <title>Panduan RSS</title> <link>http://www.codew3c.com/rss</link> <description>Panduan RSS baru di CodeW3C.com</description> </item> </channel> </rss>