feed_to_outline (Raggle::OPML)

    # File raggle, line 1246
        def OPML::feed_to_outline(feed)
          outline = REXML::Element.new('outline')
          outline.attributes['title'] = feed['title'] || ''
          outline.attributes['xmlUrl'] = feed['url'] || ''
          outline.attributes['htmlUrl'] = feed['site'] if feed.has_key?('site')
          outline.attributes['description'] = feed['desc'] || ''
          outline.attributes['category'] = feed['category'] || ''
          outline.attributes['image'] = feed['image'] if feed.has_key?('image')
          outline.attributes['priority'] = feed['priority'].to_i || $config['default_feed_priority']
          outline.attributes['refresh'] = feed['refresh'] || $config['default_feed_refresh']
          outline.attributes['save_items'] = feed['save_items?'] if feed.has_key?('save_items?')
          outline.attributes['max_items'] = feed['max_items'] if feed.has_key?('max_items')
          outline.attributes['lock_title'] = feed['lock_title?'] if feed.has_key?('lock_title?')
          outline.attributes['version'] = 'RSS'
          outline.attributes['type'] = 'rss'
          outline
        end