aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-03-03 19:07:18 +0100
committercedricbonhomme <devnull@localhost>2012-03-03 19:07:18 +0100
commit1710f5891646f2182224e38e94780d3a75881e43 (patch)
treef662ff7940815dfb585143a1879483baf4ba9eb2 /pyAggr3g470r.py
parentMain page almost working. (diff)
downloadnewspipe-1710f5891646f2182224e38e94780d3a75881e43.tar.gz
newspipe-1710f5891646f2182224e38e94780d3a75881e43.tar.bz2
newspipe-1710f5891646f2182224e38e94780d3a75881e43.zip
Feed information page is working with MongoDB.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 9a88d05a..f418e950 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -677,7 +677,7 @@ class Root:
dic = {}
#dic[feed.feed_id] = self.feeds[feed.feed_id]
- top_words = utils.top_words([articles], n=50, size=int(word_size))
+ top_words = utils.top_words(articles = self.articles.get_articles_from_collection(feed_id), n=50, size=int(word_size))
html += "</br /><h1>Tag cloud</h1>\n<br />\n"
# Tags cloud
html += 'Minimum size of a word:'
bgstack15