RSS textinput 元素

RSS <textInput> 元素

RSS 参考手册 完整 RSS 参考手册

定义和用法

<textinput> 元素规定应当与 feed 一同显示的文本输入域。

提示和注释

注意: 大多数聚合器忽略 <textInput> 元素。

<textInput> 的子元素

标签描述
<description>必需。定义对文本输入域的描述。
<name>必需。定义在文本输入域中的文本对象的名称。
<link>必需。定义处理文本输入的 CGI 脚本的 URL。
<title>必需。定义文本输入域中的提交按钮的标注 (label)。

实例


<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
    <title>知识兔首页</title>
    <link>http://www.zhishitu.com</link>
    <description>免费编程教程</description>
    <textinput>
        <description>搜索内容</description>
        <title>搜索</title>
        <link>https://www.zhishitu.com/</link>
        <name>s</name>
    </textinput>
    <item>
        <title>RSS 教程</title>
        <link>http://www.zhishitu.com/rss</link>
        <description>知识兔 Rss 教程</description>
    </item>
</channel>
</rss>

知识兔 »RSS 参考手册 完整 RSS 参考手册
计算机