Class: Syndication::RSS::TextInput

Inherits:
Container
  • Object
show all
Includes:
DublinCore
Defined in:
lib/syndication/rss.rb,
lib/syndication/dublincore.rb

Overview

Represents a text input box to be used in association with an RSS feed, for example a search box or e-mail subscription input box.

Typically found via Syndication::Channel#textinput method.

Instance Attribute Summary (collapse)

Attributes included from DublinCore

#dc_contributor, #dc_coverage, #dc_creator, #dc_date, #dc_description, #dc_format, #dc_identifier, #dc_language, #dc_publisher, #dc_relation, #dc_rights, #dc_source, #dc_subject, #dc_title, #dc_type

Method Summary

Methods inherited from Container

#initialize, #parse_date, #store, #store_category, #strip, #tag2method, #tag_end, #tag_start

Constructor Details

This class inherits a constructor from Syndication::Container

Instance Attribute Details

- (Object) description

Label to explain purpose of text input area.



120
121
122
# File 'lib/syndication/rss.rb', line 120

def description
  @description
end

URL to submit data to via HTTP POST.



124
125
126
# File 'lib/syndication/rss.rb', line 124

def link
  @link
end

- (Object) name

Name of text object in input area, for form submission.



122
123
124
# File 'lib/syndication/rss.rb', line 122

def name
  @name
end

- (Object) title

Label for Submit button in text input area.



118
119
120
# File 'lib/syndication/rss.rb', line 118

def title
  @title
end