1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Percolator

Posted by Jeremy on Sep 22, 2008

Will there be a release of the code for percolator? It seems to do something quite similar to what I want to do but so far I just can't cobble the code together.

Thanks


 
Posted by Tom De Smedt on Sep 25, 2008

The Percolator code is quite rusty and dusty. It wouldn't make much sense to share it. However, gathering data from the internet like Percolator is very easy if you use the Web library.

Here are some examples:

# draw a Flickr image in NodeBox:
import web
images = web.flickr.search("rabbit")
image(images[0].download(), 0, 0)
# filter news for keywords:
import web, en 
news = web.newsfeed.parse("http://www.nasa.gov/rss/breaking_news.rss")
item = news.items[0].description
print item
print en.content.keywords(str(item))
# find related concepts on Wikipedia:
import web 
article = web.wikipedia.search("rabbit")
print article.links