Hi all,
I need to implement tags cloud.
I get a collection of tags that have tag text and the number of times this
tag is been used:
[Movies], 52
[Dogs], 43
[Music], 52
And so on...
How can i attach a font size to each tag?
Any ideas or links.
Thanks,
Sharon. 6 2569
Hi Sharon,
I take it you're developing ASP.NET application. The best way to do this
is by using CSS classes, defining different font sizes. Then you have to
assign the appropriate CSS class to each tag you're displaying.
Andrej
"Sharon" <nu**@void.noth ing> wrote in message
news:eq******** ******@TK2MSFTN GP04.phx.gbl... Hi all, I need to implement tags cloud. I get a collection of tags that have tag text and the number of times this tag is been used: [Movies], 52 [Dogs], 43 [Music], 52 And so on... How can i attach a font size to each tag? Any ideas or links. Thanks, Sharon.
Hi,
A little more details will help, how r u going to display this? in a web
page? in a windows list, ?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Sharon" <nu**@void.noth ing> wrote in message
news:eq******** ******@TK2MSFTN GP04.phx.gbl... Hi all, I need to implement tags cloud. I get a collection of tags that have tag text and the number of times this tag is been used: [Movies], 52 [Dogs], 43 [Music], 52 And so on... How can i attach a font size to each tag? Any ideas or links. Thanks, Sharon.
It's going to be displayed in a web page,
but what i'm interested in, is the algorithm that sorts and groups the tags.
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > wrote
in message news:OY******** ******@TK2MSFTN GP02.phx.gbl... Hi,
A little more details will help, how r u going to display this? in a web page? in a windows list, ?
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"Sharon" <nu**@void.noth ing> wrote in message news:eq******** ******@TK2MSFTN GP04.phx.gbl... Hi all, I need to implement tags cloud. I get a collection of tags that have tag text and the number of times this tag is been used: [Movies], 52 [Dogs], 43 [Music], 52 And so on... How can i attach a font size to each tag? Any ideas or links. Thanks, Sharon.
Thats a good idea Andrej,
but how do i sort and group the tags to css classes?
"Andrej Tozon" <pr*@community. nospam> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. .. Hi Sharon, I take it you're developing ASP.NET application. The best way to do this is by using CSS classes, defining different font sizes. Then you have to assign the appropriate CSS class to each tag you're displaying.
Andrej
"Sharon" <nu**@void.noth ing> wrote in message news:eq******** ******@TK2MSFTN GP04.phx.gbl... Hi all, I need to implement tags cloud. I get a collection of tags that have tag text and the number of times this tag is been used: [Movies], 52 [Dogs], 43 [Music], 52 And so on... How can i attach a font size to each tag? Any ideas or links. Thanks, Sharon.
Hi,
How you want to sort & group the tags?
Where you are getting the data from?
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Sharon" <no*****@null.v oid> wrote in message
news:ew******** *****@TK2MSFTNG P02.phx.gbl... It's going to be displayed in a web page, but what i'm interested in, is the algorithm that sorts and groups the tags.
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > wrote in message news:OY******** ******@TK2MSFTN GP02.phx.gbl... Hi,
A little more details will help, how r u going to display this? in a web page? in a windows list, ?
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"Sharon" <nu**@void.noth ing> wrote in message news:eq******** ******@TK2MSFTN GP04.phx.gbl... Hi all, I need to implement tags cloud. I get a collection of tags that have tag text and the number of times this tag is been used: [Movies], 52 [Dogs], 43 [Music], 52 And so on... How can i attach a font size to each tag? Any ideas or links. Thanks, Sharon.
You probably want to sort the tags by the tag usage count first:
[Books], 77
[Animals], 61
[Movies], 52
[Music], 52
[Dogs], 43
[Cats], 12
Divide this list into the groups by number of tag sizes you want to display:
Large: [Books], 77
[Animals], 61
Normal: [Music], 52
[Movies], 52
Small: [Dogs], 43
[Cats], 12
Then sort the tags alphabeticaly:
[Animals], 61 // Large
[Books], 77 // Large
[Cats], 12 // Small
[Dogs], 43 // Small
[Movies], 52 // Normal
[Music], 52 // Normal
And display them on a web page.
How and where you perform this logic, depends on how and which controls you
plan on using on your page.
Andrej
"Sharon" <no*****@null.v oid> wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. .. Thats a good idea Andrej, but how do i sort and group the tags to css classes?
"Andrej Tozon" <pr*@community. nospam> wrote in message news:%2******** ********@TK2MSF TNGP05.phx.gbl. .. Hi Sharon, I take it you're developing ASP.NET application. The best way to do this is by using CSS classes, defining different font sizes. Then you have to assign the appropriate CSS class to each tag you're displaying.
Andrej
"Sharon" <nu**@void.noth ing> wrote in message news:eq******** ******@TK2MSFTN GP04.phx.gbl... Hi all, I need to implement tags cloud. I get a collection of tags that have tag text and the number of times this tag is been used: [Movies], 52 [Dogs], 43 [Music], 52 And so on... How can i attach a font size to each tag? Any ideas or links. Thanks, Sharon.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Zenobia |
last post by:
I can't understand the warning I'm getting from the W3C
validator. Here it is, along with the source code that it is not
fully satisfied with. What meta-tags should I be including?
Here is the warning I got from the W3C validator.
Note: The HTTP Content-Type header sent by your web browser
(unknown) did not contain a "charset" parameter, but the
Content-Type was one of the XML text/* sub-types (text/xml). The
relevant specification...
|
by: Toni Mcintyre |
last post by:
i'm having 2 problems with the http://validator.w3.org
1. if i have:
<meta http-equiv="Content-Script-Type" content="text/javascript">
then why do i need <script type=text/javascript> everywhere???
i'm writing most of my code by hand, so this is a lot of extra typing or
global search and replace later
2. the other problem is with my include files:
i usually <script src="foo.js"></script>
|
by: lkrubner |
last post by:
I apologize for being a bit dense, but I'm trying to wrap my head
around the sentence
"Its purpose is to allow processes to register with a cloud to be
notified of updates to the channel, implementing a lightweight
publish-subscribe protocol for RSS feeds."
When they say "cloud" do they just mean a program running on a server?
|
by: Jake Barnes |
last post by:
I've been trying to read up on RDF and RSS. I've been trying to get my
mind around not just the technical issues but some of the cultural and
political issues that surround these formats. I've been given the task
of adding some unique tags to our companies feed, and I'm wondering
what path to follow. In theory, we are extending our RSS feed with new
tags. I worry what technical and political landmines I might trip by
doing this wrong.
...
|
by: yawnmoth |
last post by:
According to <http://www.rssboard.org/rss-
specification#ltcloudgtSubelementOfLtchannelgt>, " specifies a
web service that supports the rssCloud interface which can be
implemented in HTTP-POST, XML-RPC or SOAP 1.1."
According to <http://www.rssboard.org/rsscloud-interface#client>,
though, you must use "the string "xml-rpc" if the client employs XML-
RPC or "soap" for SOAP". So what if you want to use HTTP-POST? The
first link implies...
| |
by: treelovinhippie |
last post by:
hi
I have a bunch of video categories, and I'm trying to make a simple tag cloud of the available categories (with the larger sized category having the most videos in it)
This code already generates a loop of all the categories, I just can't workout how to have this also lookup the number of entries in each category and then spit that out as an array (trying to use this code for the tag cloud:...
|
by: Aaron Watters |
last post by:
So, in between skiing runs I noticed
a Business Week cover story on
"cloud computing". The article had
lots of interesting information in it like
about how somebody's mom used to
be an airline stewardess and the
interior decor of various office spaces.
It was a truly excellent piece of
journalism.
|
by: knorth |
last post by:
The DataServices World conference offers a program for those
interested in technology for data integration and data access, with
emphasis on service-oriented architecture (SOA), web-oriented
architecture (WOA) and cloud computing solutions. Presenting the
program are experts and thought leaders from the University of
California, IBM, Adobe Systems, Yahoo!, Reuters, Oracle,
salesforce.com, DataDirect Technologies, Netrics and m2mi...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |