Skip to content

Instantly share code, notes, and snippets.

@siuying
Created June 7, 2009 14:41
Show Gist options
  • Save siuying/125357 to your computer and use it in GitHub Desktop.
Save siuying/125357 to your computer and use it in GitHub Desktop.
module Fullfeed
module Extractor
class YahooNewsHongKongExtractor < XpathExtractor
# register this extractor to the system
register
def initialize
super(%r{http://hk\.rd\.yahoo.com/news/rss/\*http://.+\.html}, ".livewords")
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment