aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2018-10-28 11:49:19 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2018-10-28 11:49:19 +0100
commit436232daa16b9219c7d806635a054174e43d9416 (patch)
tree6b605e001ed952da3180510cc1211e0eede78ae9 /src/web
parentImproved view for the list of public feeds. (diff)
downloadnewspipe-436232daa16b9219c7d806635a054174e43d9416.tar.gz
newspipe-436232daa16b9219c7d806635a054174e43d9416.tar.bz2
newspipe-436232daa16b9219c7d806635a054174e43d9416.zip
Removed useless tag cloud.
Diffstat (limited to 'src/web')
-rw-r--r--src/web/views/user.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/web/views/user.py b/src/web/views/user.py
index 534e1ded..ceee6928 100644
--- a/src/web/views/user.py
+++ b/src/web/views/user.py
@@ -39,13 +39,6 @@ def profile_public(nickname=None):
filters['category_id'] = category_id
feeds = FeedController(user.id).read(**filters).order_by('title')
- """word_size = 6
- filters = {}
- filters['retrieved_date__gt'] = datetime.now() - timedelta(weeks=10)
- articles = ArticleController(user.id).read(**filters).all()
- top_words = misc_utils.top_words(articles, n=50, size=int(word_size))
- tag_cloud = misc_utils.tag_cloud(top_words)"""
-
return render_template('profile_public.html', user=user, feeds=feeds,
selected_category_id=category_id)
bgstack15