Platinum Partner

Correct Ruby Example With Google Data APIs

http://code.google.com/apis/gdata/articles/using_ruby.html
One of examples in the article does not work. It is an example for listFeed and calls get_feed function which is defined in the previous code. It needs use_ssl as follows


def get_feed_ssl(uri,headers=nil)
  uri = URI.parse(uri)
  http = Net::HTTP.new(uri.host,uri.port)
  http.use_ssl=true
  return http.get(uri.path,headers)
end
response = get_feed_ssl(listfeed_uri, headers)


Ruby 1.9.2-p180
{{ tag }}, {{tag}},

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks
Tweet

{{parent.nComments}}