RSS <textInput> 元素
❮ 完整的 RSS 參考
定義和用法
The <textinput> 標籤指定了應與 feed 一同顯示的文字輸入欄位。
提示和註釋
注意: 大多數聚合器會忽略 <textInput> 元素。
<textInput> 的子元素
標籤 | 描述 |
---|---|
<description> | 必需。定義文字輸入區域的描述 |
<name> | 必需。定義文字輸入區域中文字物件的名稱 |
<link> | 必需。定義處理文字輸入的 CGI 指令碼的 URL |
<title> | 必需。定義文字輸入區域中提交按鈕的標籤 |
示例
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>W3Schools 主頁</title>
<link>https://w3schools.tw</link>
<description>免費網頁製作教程</description>
<textinput>
<description>搜尋 Google</description>
<title>搜尋</title>
<link>http://www.google.no/search?</link>
<name>q</name>
</textinput>
<item>
<title>RSS 教程</title>
<link>https://w3schools.tw/xml/xml_rss.asp</link>
<description>W3Schools 上的新 RSS 教程</description>
</item>
</channel>
</rss>
自己動手試一試 »
❮ 完整的 RSS 參考