categories (Raggle::Feed::List)

    # File raggle, line 1398
          def categories
            category = Struct::new(:title, :count)
            cats = {}
            @feeds.each { |feed|
              if feed['category']
                feed['category'].split(/\s*\b\s*/).each { |cat|
                  if cat == ','
                  elsif cats.has_key? cat.downcase
                    cats[cat.downcase].count += 1
                  else
                    cats[cat.downcase] = category.new(cat, 1)
                  end
                }
              end
            }
            cats.values.sort { |a, b| a.title.downcase <=> b.title.downcase }
          end