lib/second_handler.rb
def get_content (&func)
      data = Array.new
      @feed.to_a.each do |single_post|
        begin
          if func.nil?
            data << clean_post_content(single_post, &@message_parser)
          else
            data << clean_post_content(single_post, &func)
          end
        rescue
        end
      end
      data
    end
def get_content (&func)
      data = Array.new
      @feed.to_a.each do |single_post|
        begin
          if func.nil?
            data << clean_post_content(single_post, &@message_parser)
          else
            data << clean_post_content(single_post, &func)
          end
        rescue
        end
      end
      data
    end
def get_content ( & func ) data = Array . new @feed . to_a . each do | single_post | begin if func . nil? data << clean_post_content ( single_post , @message_parser ) else data << clean_post_content ( single_post , func ) end rescue end end data end
return feed of current page  infomation , including image
return feed of current page infomation including image