From 0b44fc9a8081af991e5335351b41c7a9a0221d61 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Tue, 23 Feb 2010 21:47:02 +0100 Subject: Statistics on words are only processed on articles content. --- pyAggr3g470r.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyAggr3g470r.py') diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 1ab9448b..d72a6008 100644 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -152,7 +152,7 @@ class Root: article_content = "" for rss_feed_id in self.dic.keys(): for article in self.dic[rss_feed_id]: - article_content += remove_html_tags(article[4].encode('utf-8') + article[2].encode('utf-8')) + article_content += remove_html_tags(article[4].encode('utf-8')) words_gen = (word.strip(punctuation).lower() \ for word in article_content.split() \ -- cgit