1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
:py:attr:`feed.textinput`
=========================
A text input form. No one actually uses this. Why are you?
.. _reference.feed.textinput.title:
:py:attr:`feed.textinput.title`
-------------------------------
The title of the text input form, which would go in the value attribute of the
form's submit button.
.. _reference.feed.textinput.link:
:py:attr:`feed.textinput.link`
------------------------------
The link of the script which processes the text input form, which would go in
the action attribute of the form.
If this is a relative :abbr:`URI (Uniform Resource Identifier)`, it is
:ref:`resolved according to a set of rules <advanced.base>`.
.. _reference.feed.textinput.name:
:py:attr:`feed.textinput.name`
------------------------------
The name of the text input box in the form, which would go in the name
attribute of the form's input box.
.. _reference.feed.textinput.description:
:py:attr:`feed.textinput.description`
-------------------------------------
A short description of the text input form, which would go in the label element
of the form.
.. rubric:: Annotated example
This is a text input in a feed:
::
<textInput>
<title>Go!</title>
<link>http://example.org/search</link>
<name>keyword</name>
<description>Search this site:</description>
</textInput>
This is how it could be rendered in :abbr:`HTML (HyperText Markup Language)`:
::
<form method="get" action="http://example.org/search">
<label for="keyword">Search this site:</label>
<input type="text" id="keyword" name="keyword" value="">
<input type="submit" value="Go!">
</form>
.. rubric:: Comes from
* /rdf:RDF/rdf:textinput
* /rss/channel/textInput
* /rss/channel/textinput
|