Skip to content
rss/atom discovery
CoffeeScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples
README
discover.coffee

README

coffeescript + chainsaw == awesomeness

# examples/find.coffee
discover = require '../discover'
nonblock = discover()
    .find('http://www.readwriteweb.com')
    .find('http://www.techcrunch.com')
console.log 'look ma, no blocking'
nonblock
    .find('http://www.foo.com')
    .do (feeds)->
        for feed in Object.keys feeds
            console.log feed
console.log 'doing other stuff now, no need to wait'
#->

http://www.readwriteweb.com/rss.xml
http://feedproxy.google.com/TechCrunch



Something went wrong with that request. Please try again.