if (do_name() != 'Home') : ?>
endif ?>
Posted by Tom De Smedt on Sep 25, 2008
include("util/comment.php"); ?>
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
Percolator
Posted by Jeremy on Sep 22, 2008Will 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