tag-cloud

3D sphere tag cloud [closed]

不想你离开。 提交于 2020-01-21 05:11:25
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Does anyone know how to achieve a 3D sphere tag cloud, like on this site: http://krypted.com/ Is there a Javascript library that can easily do this, or was it most likely written by hand? 回答1: That is done in Flash using the WP-Cumulus plugin. While there are ways to accomplish it in javascript I haven't seen

HTML Tag Cloud creation using Python? [closed]

久未见 提交于 2020-01-13 05:57:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Is there a library which can take a python dict with word freq = { 'abc' : 25, .... } and convert this into a html based Tag Cloud? 回答1: There a numerous examples for this on the web, e.g. here: http://sujitpal.blogspot.com/2007/04/building-tag-cloud-with-python.html http://snipplr.com/view/8875/tag-cloud/ http:

best practice with tagclouds or tagCloud logic? [closed]

僤鯓⒐⒋嵵緔 提交于 2020-01-01 12:08:10
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . what are some good tag Cloud logic that you had come up with? like fontsize = factor * percentageOfOccurance .... 回答1: You'll need to set a minimum size, so maybe fontsize = minsize + factor * percentage . You may want to limit the range of sizes; perhaps take the sqrt or log of

Symfony2 - Accessing tag array which has values is giving an error

谁都会走 提交于 2019-12-25 18:21:59
问题 I am trying to use a getTags() array which is an array of arrays into another method GetTagWeights($tags) but am getting an error when using it with this line: $tagWeights[$tag] = (isset($tagWeights[$tag['tag']])) ? $tagWeights[$tag['tag']] + 1 : 1; I get the following error: ContextErrorException: Warning: Illegal offset type in /var/www/html/Satori/src/Symfony/AcmeBundle/Entity/TagRepository.php line 34 Question: What am I doing wrong here, I've dumped getTags() and there is data? My

spherical animation with text for using tag cloud in android app [News Republic]

眉间皱痕 提交于 2019-12-23 17:17:15
问题 I want to create spherical animation in my android app similar to this in News Republic app. I have tried to create a sphere so far but can anyone guide me how to proceed to develop animations like this in android. Do we have to use opengl only or we can achieve it with other alternative option. Also, when the text is clicked it opens the related news in a different screen. EDIT I finally found some solution for this, which is available under this package. But, the animation is not smooth

spherical animation with text for using tag cloud in android app [News Republic]

拜拜、爱过 提交于 2019-12-23 17:14:35
问题 I want to create spherical animation in my android app similar to this in News Republic app. I have tried to create a sphere so far but can anyone guide me how to proceed to develop animations like this in android. Do we have to use opengl only or we can achieve it with other alternative option. Also, when the text is clicked it opens the related news in a different screen. EDIT I finally found some solution for this, which is available under this package. But, the animation is not smooth

change the font size in tag cloud

情到浓时终转凉″ 提交于 2019-12-23 17:05:09
问题 I would like to reduce the font size in tag cloud (at least for tags with more than one hits). I was looking in css file, but couldn't find anything about font size in tag cloud. Do you know where to change? (The link is www.veda-vit.de, just in case it's needed.) 回答1: WordPress defines the default arguments that configure the Tag Cloud. These arguments are defined here in codex. Notice that you can specify the smallest and largest font size. By default, it's set at 22 with a unit of pt . To

Tagging from Scratch: the Tag Cloud Issue

孤街醉人 提交于 2019-12-23 16:40:20
问题 I'm following the instructions from http://railscasts.com/episodes/382-tagging and building a Tag System from Scratch. Everything are working great but not the tag_cloud helper. It raises database error while searching for tag_counts. Following scope: #Picture.rb class Picture < ActiveRecord::Base attr_accessible :description, :title, :tag_list has_many :taggings has_many :tags, through: :taggings #Because of the following I'm getting an error from the Posgresql (showed in "Database Error")

What is the formula to calculate the font-size for tags in a tagcloud?

删除回忆录丶 提交于 2019-12-20 08:59:54
问题 I have a tag cloud and I need to know how can I change the font-size for the most used tags. I need to set a min-font-size and a max-font-size. 回答1: You could use a linear or logarithmic assessment of the number of items associated with a certain tag relative to the largest tag, multiply it by the difference between minimum and maximum font sizes, then add it to the minimum font size. For example, the math in pseudocode might be: let min = 12, max = 24 for each tag font = (items / items in

Algorithm to implement a word cloud like Wordle

五迷三道 提交于 2019-12-17 04:09:25
问题 Context Take a look at Wordle: http://www.wordle.net/ It's much better looking than any other word cloud generators I've seen Note: the source is not available - read the FAQ: http://www.wordle.net/faq#code My Questions Is there an algorithm available that does what Wordle does? If no, what are some alternatives that produces similar kinds of output? Why I'm asking just curious want to learn 回答1: I'm the creator of Wordle. Here's how Wordle actually works: Count the words, throw away boring