lib/mako/feed_constructor.rb
def parse_and_create
      parsed_feed = parse_feed
      return false unless parsed_feed

      feed = create_feed(parsed_feed)
      create_articles(feed, parsed_feed)
      feed
    end
def parse_and_create
      parsed_feed = parse_feed
      return false unless parsed_feed

      feed = create_feed(parsed_feed)
      create_articles(feed, parsed_feed)
      feed
    end
def parse_and_create parsed_feed = parse_feed return false unless parsed_feed feed = create_feed ( parsed_feed ) create_articles ( feed , parsed_feed ) feed end
Parses raw XML feed and creates Feed and Article objects to
 be rendered. Returns false if feed cannot be parsed.

 @return [Feed]
Parses raw XML feed and creates Feed and Article objects to be rendered . Returns false if feed cannot be parsed .