自强学堂
自强学堂:学习、分享、让你更强!
RSS 实例HTMLCSSJAVASCRIPTJQUERYSQLPHPBOOTSTRAPANGULARXML
 

RSS textinput 元素

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

定义和用法

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


提示和注释

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


<textInput> 的子元素

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


实例

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">

<channel>
  <title>自强学堂 Home Page</title>
  <link>http://www.ziqiangxuetang.com</link>
  <description>Free web building tutorials</description>
  <textinput>
    <description>Search Google</description>
    <title>Search</title>
    <link>http://www.google.no/search?</link>
    <name>q</name>
  </textinput>

  <item>
    <title>RSS Tutorial</title>
    <link>http://www.ziqiangxuetang.com/rss</link>
    <description>New RSS tutorial on 自强学堂</description>
  </item>
</channel>

</rss>

尝试一下 »

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