Элемент RSS <textInput>
❮ Полный справочник RSS
Определение и использование
Тег <textinput> определяет поле ввода текста, которое должно отображаться вместе с лентой.
Советы и примечания
Примечание. Большинство агрегаторов игнорируют элемент <textInput>.
Дочерние элементы <textInput>
Tag | Description |
---|---|
<description> | Required. Defines a description of the text input area |
<name> | Required. Defines the name of the text object in the text input area |
<link> | Required. Defines the URL of the CGI script that processes the text input |
<title> | Required. Defines the label of the submit button in the text input area |
Пример
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>W3Schools Home Page</title>
<link>https://www.w3schools.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>https://www.w3schools.com/xml/xml_rss.asp</link>
<description>New RSS tutorial on W3Schools</description>
</item>
</channel>
</rss>
❮ Полный справочник RSS