Class: RSS::Maker::ChannelBase
- Includes:
- DublinCoreModel, ITunesChannelModel, ImageFaviconModel, SetupDefaultDate, SyndicationModel, TaxonomyTopicsModel
- Defined in:
- lib/rss/maker/base.rb,
lib/rss/maker/image.rb,
lib/rss/maker/itunes.rb,
lib/rss/maker/taxonomy.rb,
lib/rss/maker/dublincore.rb,
lib/rss/maker/syndication.rb
Direct Known Subclasses
Atom::Entry::Channel, Atom::Feed::Channel, RSS09::Channel, RSS10::Channel
Defined Under Namespace
Classes: AuthorsBase, CategoriesBase, CloudBase, ContributorsBase, CopyrightBase, DescriptionBase, GeneratorBase, ITunesCategories, ITunesImage, ITunesOwner, LinksBase, SkipDaysBase, SkipHoursBase, TitleBase
Constant Summary
Constants inherited from Base
Base::NEED_INITIALIZE_VARIABLES, Base::OTHER_ELEMENTS
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #date=(_date) ⇒ Object
- #icon ⇒ Object
- #icon=(url) ⇒ Object
- #lastBuildDate=(_date) ⇒ Object
- #logo ⇒ Object
- #logo=(url) ⇒ Object
- #pubDate ⇒ Object
- #pubDate=(date) ⇒ Object
- #updated ⇒ Object
- #updated=(date) ⇒ Object
Methods included from SyndicationModel
Methods included from DublinCoreModel
append_features, install_dublin_core
Methods included from TaxonomyTopicsModel
append_features, install_taxo_topics
Methods included from ITunesChannelModel
Methods included from ITunesBaseModel
#def_class_accessor, #def_csv_accessor, #def_elements_class_accessor, #def_explicit_clean_other_accessor, #def_yes_other_accessor
Methods included from ImageFaviconModel
append_features, install_image_favicon
Methods inherited from Base
add_need_initialize_variable, add_other_element, def_array_element, def_classed_element, def_classed_element_without_accessor, def_classed_elements, def_csv_element, def_other_element, def_other_element_without_accessor, #have_required_values?, inherited, inherited_base, #initialize, need_initialize_variables, other_elements, #variable_is_set?
Methods included from Utils::InheritedReader
#inherited_array_reader, #inherited_hash_reader, #inherited_reader
Constructor Details
This class inherits a constructor from RSS::Maker::Base
Instance Method Details
#date=(_date) ⇒ Object
522 523 524 |
# File 'lib/rss/maker/base.rb', line 522 def date=(_date) @date = _parse_date_if_needed(_date) end |
#icon ⇒ Object
552 553 554 |
# File 'lib/rss/maker/base.rb', line 552 def icon image_favicon.about end |
#icon=(url) ⇒ Object
556 557 558 |
# File 'lib/rss/maker/base.rb', line 556 def icon=(url) image_favicon.about = url end |
#lastBuildDate=(_date) ⇒ Object
526 527 528 |
# File 'lib/rss/maker/base.rb', line 526 def lastBuildDate=(_date) @lastBuildDate = _parse_date_if_needed(_date) end |
#logo ⇒ Object
560 561 562 |
# File 'lib/rss/maker/base.rb', line 560 def logo maker.image.url end |
#logo=(url) ⇒ Object
564 565 566 |
# File 'lib/rss/maker/base.rb', line 564 def logo=(url) maker.image.url = url end |
#pubDate ⇒ Object
530 531 532 |
# File 'lib/rss/maker/base.rb', line 530 def pubDate date end |
#pubDate=(date) ⇒ Object
534 535 536 |
# File 'lib/rss/maker/base.rb', line 534 def pubDate=(date) self.date = date end |
#updated ⇒ Object
538 539 540 |
# File 'lib/rss/maker/base.rb', line 538 def updated date end |
#updated=(date) ⇒ Object
542 543 544 |
# File 'lib/rss/maker/base.rb', line 542 def updated=(date) self.date = date end |