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.org.cn</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.org.cn/xml/xml_rss.asp</link>
<description>W3Schools 上的新 RSS 教程</description>
</item>
</channel>
</rss>
自己动手试一试 »
❮ 完整的 RSS 参考