Sha256: b89e35d3b447afebb8642301288fed56226211e49820e41d6e420cac97fa029b

Contents?: true

Size: 1.66 KB

Versions: 35

Compression:

Stored size: 1.66 KB

Contents

#
# Copyright (C) 2007 Mobio Networks, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

require 'drivers'
class Rss < Mobio::WebServices::WsdlDriver
  # returns a nil object if nothing can be found
  def item(itemid)
    self.class.driver.item(itemid)
  end
  
  # returns a nil object if nothing can be found
  def prepare(feed_url = '', feed_label = '')
    self.class.driver.prepare(feed_url, feed_label)
  end
  
  # returns a summary or nil object if it can't do anything
  def summary(feed_url = '', feed_label = '')
    self.class.driver.summary(feed_url, feed_label)
  end
  
  # returns a nil object if nothing can be found
  def view(feed_url = '', feed_label = '', num_items = 10, descrip_size = 100, descrip_strip = '', other = '')
    self.class.driver.view(feed_url, feed_label, num_items, descrip_size, descrip_strip, other)
  end
  
  # this doesn't work right now 7/2/07
  def item_description(itemid)
    self.class.driver.itemDescription(itemid)
  end

  # this doesn't work right now 7/2/07  
  def item_link_content(itemid)
    self.class.driver.itemLinkcontent(itemid)
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
rmobio-1.1.14 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.15 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.10 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.11 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.12 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.13 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.0 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.1 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.16 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.18 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.17 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.20 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.2 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.19 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.26 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.21 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.25 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.23 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.27 lib/rmobio/webservices/soap/rss.rb
rmobio-1.1.24 lib/rmobio/webservices/soap/rss.rb