pauldix/feedzirra — Issue #78: Unable to properly parse itunes subcategories
Author: blackgold9
Created: 2012-01-07 22:44:32+00:00
State: open

When i create a subcategories class as below, when it parses the xml, it returns both the parent and the child category as subcategories. Is this the correct way to attempt this?

```ruby
module Feedzirra

module Parser
# iTunes extensions to the standard RSS2.0 item
# Source: http://www.apple.com/itunes/whatson/podcasts/specs.html
class ITunesRSS
class ITunesRSSCategory
include SAXMachine
include FeedEntryUtilities

element :'itunes:category', :as => :name, :value => :text
elements :'itunes:category', :as => :sub_categories, :value => :text
end
end
end

end
```

input:
```

```