class RSSable::Parsers::Items::Blogger

Public Instance Methods

comments_count() click to toggle source

Returns the comments count If the comments count node does not exist it returns nil

@return [Integer]

# File lib/rssable/parsers/items/blogger.rb, line 10
def comments_count
  count = node_text(node.at_xpath("//thr:total"))
  count.to_i unless count.nil?
end