Latest web development tutorials

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>W3CSchool Home Page</title>
<link>http://www.w3cschool.cc</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.w3cschool.cc/rss</link>
<description>New RSS tutorial on W3CSchool</description>
</item>
</channel>

</rss>

嘗試一下»

RSS 參考手冊 完整RSS參考手冊