Django tag cloud plugin [closed]

蓝咒 提交于 2019-12-09 06:20:28

问题


Is there a good Django app out there that can take a list of tags and their frequencies of occurrence and render a tag cloud for them?


回答1:


Django-tagging has helpers for generating tag clouds.




回答2:


A little self-promotion never hurt anybody, right? http://dburke.info/blog/logarithmic-tag-clouds




回答3:


You could try this template tag: http://www.djangosnippets.org/snippets/140/

It works with the django-tagging app http://code.google.com/p/django-tagging/




回答4:


Grab the trunk and it will work for 1.0




回答5:


currently facing the same issue, i found that these links are useful for the tagging template -- so you wouldn't have to type all the template for tagging from scratch:

  • http://www.napes.co.uk/blog/django-tagging/

  • http://tylerlesmann.com/2009/mar/09/adding-tagging-django-10-views-and-templates/

hopefully those can help :)




回答6:


This is shameless self promotion, but I just released a very simple template tag helper to do this as I had the same need and didn't wanted to use something heavier such as Django-tagging.

It doesn't render the tag cloud tough, but it makes the necessary calculations and store the result in an attribute that can be easily referenced in HTML/CSS.

https://github.com/niconoe/django-nuages-tag



来源:https://stackoverflow.com/questions/405675/django-tag-cloud-plugin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!