Created
March 3, 2009 15:34
-
-
Save pauldix/73369 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# an idea for the interface to add common parsing elements across all feed | |
# entry types. Basically have them all inherit from FeedEntry and then | |
# open up the class. | |
require ‘feedzirra’ | |
class FeedEntry | |
element :”wfw:commentRss”, :as => :comment_rss | |
end | |
# here's another way: | |
Feedzirra.add_common_entry_element(:”wfw:commentRss”, :as => :comment_rss) | |
# thoughts? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment