Class: RSS::Maker::ChannelBase
- Inherits:
-
Base
show all
- 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
Defined Under Namespace
Classes: AuthorsBase, CategoriesBase, CloudBase, ContributorsBase, CopyrightBase, DescriptionBase, GeneratorBase, ITunesCategories, ITunesImage, ITunesOwner, LinksBase, SkipDaysBase, SkipHoursBase, TitleBase
Constant Summary
Constant Summary
Constants inherited
from Base
Base::NEED_INITIALIZE_VARIABLES, Base::OTHER_ELEMENTS
Instance Attribute Summary
Attributes inherited from Base
#maker
Instance Method Summary
(collapse)
append_features
append_features, install_dublin_core
append_features, install_taxo_topics
append_features
#def_class_accessor, #def_csv_accessor, #def_elements_class_accessor, #def_yes_clean_other_accessor, #def_yes_other_accessor
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?
#inherited_array_reader, #inherited_hash_reader, #inherited_reader
Instance Method Details
- (Object) date=(_date)
521
522
523
|
# File 'lib/rss/maker/base.rb', line 521
def date=(_date)
@date = _parse_date_if_needed(_date)
end
|
551
552
553
|
# File 'lib/rss/maker/base.rb', line 551
def icon
image_favicon.about
end
|
- (Object) icon=(url)
555
556
557
|
# File 'lib/rss/maker/base.rb', line 555
def icon=(url)
image_favicon.about = url
end
|
- (Object) lastBuildDate=(_date)
525
526
527
|
# File 'lib/rss/maker/base.rb', line 525
def lastBuildDate=(_date)
@lastBuildDate = _parse_date_if_needed(_date)
end
|
559
560
561
|
# File 'lib/rss/maker/base.rb', line 559
def logo
maker.image.url
end
|
- (Object) logo=(url)
563
564
565
|
# File 'lib/rss/maker/base.rb', line 563
def logo=(url)
maker.image.url = url
end
|
529
530
531
|
# File 'lib/rss/maker/base.rb', line 529
def pubDate
date
end
|
- (Object) pubDate=(date)
533
534
535
|
# File 'lib/rss/maker/base.rb', line 533
def pubDate=(date)
self.date = date
end
|
537
538
539
|
# File 'lib/rss/maker/base.rb', line 537
def updated
date
end
|
- (Object) updated=(date)
541
542
543
|
# File 'lib/rss/maker/base.rb', line 541
def updated=(date)
self.date = date
end
|