Parent

Class/Module Index [+]

Quicksearch

SimpleRSS

Constants

VERSION

Attributes

entries[R]
items[R]
source[R]

Public Class Methods

feed_tags() click to toggle source
# File lib/simple-rss.rb, line 52
def feed_tags
        @@feed_tags
end
feed_tags=(ft) click to toggle source
# File lib/simple-rss.rb, line 55
def feed_tags=(ft)
        @@feed_tags = ft
end
item_tags() click to toggle source
# File lib/simple-rss.rb, line 59
def item_tags
        @@item_tags
end
item_tags=(it) click to toggle source
# File lib/simple-rss.rb, line 62
def item_tags=(it)
        @@item_tags = it
end
new(source, options={}) click to toggle source
# File lib/simple-rss.rb, line 40
    def initialize(source, options={})
            @source = source.respond_to?(:read) ? source.read : source.to_s
            @items = Array.new
@options = Hash.new.update(options)

            parse
    end
parse(source, options={}) click to toggle source

The strict attribute is for compatibility with Ruby’s standard RSS parser

# File lib/simple-rss.rb, line 67
def parse(source, options={})
        new source, options
end

Public Instance Methods

channel() click to toggle source
# File lib/simple-rss.rb, line 48
def channel() self end
Also aliased as: feed
feed() click to toggle source
Alias for: channel

[Validate]

Generated with the Darkfish Rdoc Generator 2.