Class: Syndication::RSS::Image
- Inherits:
-
Container
- Object
- Container
- Syndication::RSS::Image
- Includes:
- DublinCore
- Defined in:
- lib/syndication/rss.rb,
lib/syndication/dublincore.rb
Overview
Used to represent graphical images provided in an RSS feed, with the intent that they be used to represent the channel in a graphical user interface, or on a web page.
Typically found via Syndication::Channel#image
Instance Attribute Summary (collapse)
-
- (Object) height
Height of image in pixels, as an integer.
-
- (Object) link
Link to use when image is clicked on.
-
- (Object) title
Title of image for use as ALT text.
-
- (Object) url
URL of image.
-
- (Object) width
Width of image in pixels, as an integer.
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) height
Height of image in pixels, as an integer.
95 96 97 |
# File 'lib/syndication/rss.rb', line 95 def height @height end |
- (Object) link
Link to use when image is clicked on.
91 92 93 |
# File 'lib/syndication/rss.rb', line 91 def link @link end |
- (Object) title
Title of image for use as ALT text.
89 90 91 |
# File 'lib/syndication/rss.rb', line 89 def title @title end |
- (Object) url
URL of image.
87 88 89 |
# File 'lib/syndication/rss.rb', line 87 def url @url end |
- (Object) width
Width of image in pixels, as an integer.
93 94 95 |
# File 'lib/syndication/rss.rb', line 93 def width @width end |