class RSS::TextInput

Overview

The purpose of the element is something of a mystery. You can use it to specify a search engine box. Or to allow a reader to provide feedback. Most aggregators ignore it.

Defined in:

cryss/text_input.cr

Constructors

Instance Method Summary

Instance methods inherited from class RSS::Element

ns(name : String, &) ns, to_s(io : IO) to_s, to_xml(io : IO)
to_xml(xml : XML::Builder)
to_xml

Constructor Detail

def self.new(title : String, description : String, name : String, link : URI | String) #

[View source]

Instance Method Detail

def description : String #

Explains the text input area.


[View source]
def description=(description : String) #

[View source]
def link : URI #

The URL of the CGI script that processes text input requests.


[View source]
def link=(link : URI) #

[View source]
def name : String #

The name of the text object in the text input area.


[View source]
def name=(name : String) #

[View source]
def title : String #

The label of the Submit button in the text input area.


[View source]
def title=(title : String) #

[View source]
def to_xml(xml : XML::Builder) #
Description copied from class RSS::Element

Writes the generated XML to the provided xml builder.


[View source]