Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 09:36:21 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155400 Posts in 21698 Topics by 7729 Members
Latest Member: adnan
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: pages tag clouds  (Read 2958 times)
Availor

Offline Offline

Posts: 225



« on: June 25, 2008, 08:55:34 AM »

I found a piece of code in my WebsiteBaker folder. I haven't found a forum topic regarding this and I don't remember where I downloaded this piece of code.

Anyway - tag clouds created from pages keywords is very useful. I've made a tutorial on how to apply it.
http://www.websitebakerden.com/pages/posts/creating-pages-keywords-tag-clouds35.php

This is the code file - dont know who made it.
Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2294



WWW
« Reply #1 on: June 25, 2008, 09:26:02 AM »

This is the code file - dont know who made it.

It was made by Ron (rsmith): http://www.websitebaker2.org/forum/index.php?action=profile;u=2132
The snippet and testpage is here: http://slink2.no-ip.info/pages/website-baker-info/sample-pages/keyword-tags-test.php

Ruud
Logged

Professional WebsiteBaker Solutions
Availor

Offline Offline

Posts: 225



« Reply #2 on: June 25, 2008, 10:50:40 AM »

Thanks  grin
Logged
doc
Guest
« Reply #3 on: June 25, 2008, 11:30:58 AM »

Hello,

in the German section, thorn posted another tag cloud admin module you may want to test.
http://www.websitebaker2.org/forum/index.php/topic,10133.0.html

Regards Christian
Logged
Availor

Offline Offline

Posts: 225



« Reply #4 on: June 25, 2008, 07:51:41 PM »

Dankashein (hope it's pronounced correctly).

I used google translator but it's very vague. As I understand it it can generate tag clouds from all data?
Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4883



« Reply #5 on: June 25, 2008, 08:10:45 PM »

Please ask Thorn to open a Thread for this in english.

He also created the "Working Page" Module, so I know he is speeking english as well as german.
 wink


Best regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Availor

Offline Offline

Posts: 225



« Reply #6 on: June 25, 2008, 08:15:14 PM »

I will... what is a "Working Page" module?
Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4883



« Reply #7 on: June 25, 2008, 08:23:06 PM »

... what is a "Working Page" module?
WYSIWYG with history and working copy
http://www.websitebaker2.org/forum/index.php/topic,9471.0.html

"Working Copy" not "Working Page".. sry.

Best,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
thorn

Offline Offline

Posts: 980


WWW
« Reply #8 on: June 25, 2008, 11:22:43 PM »

Hello,

I used google translator but it's very vague. As I understand it it can generate tag clouds from all data?

It will generate tagclouds from search, news-postings, wysiwyg-pages, page-names (most visited pages). This evening i have added tagclouds for keywords and description, too.  wink
Will try to publish this module in the english forum this weekend...

If you want to get a first impession, just install the module and add this piece of code into a code-section
Code:
if(file_exists(WB_PATH.'/modules/searchtools/tagcloud/tagcloud.php')) {
  require_once(WB_PATH.'/modules/searchtools/tagcloud/tagcloud.php');
  $tags = fetch_tagcloud('dist', 100);
  display_tagcloud($tags, 'Most searched words');
}
Use the search a few times, and call the code-page.

To have a wysiwyg-tagcloud use
Code:
if(file_exists(WB_PATH.'/modules/searchtools/tagcloud/tagcloud.php')) {
  require_once(WB_PATH.'/modules/searchtools/tagcloud/tagcloud.php');
  $tags = fetch_tagcloud('dist', 100, 0, 'st_module_wysiwyg');
  display_tagcloud($tags, 'Most used words in WYSIWYG-pages');
}
(You will find many stop words in the cloud (e.g. 'the'), because there a no english stop words, yet - see config.)

thorn.
« Last Edit: June 29, 2008, 04:13:33 PM by thorn » Logged

bupaje

Offline Offline

Posts: 519


WWW
« Reply #9 on: June 26, 2008, 05:59:32 AM »

Ooo. Excellent. I have been playing with tag clouds.

Can I suggest something for future consideration? I have been trying to generate an image tag cloud from rss feeds -so that I can show a visual cloud of book covers, and one of game graphics from my Amazon and BigFishGames stores.

I have tested some small clusters of on my sites ('baby cloud' created manually) and have seen that it dramatically improves the amount of people clicking. The same would likely work very well for galleries, icons, fonts or other concepts that could be represented visually.

Logged

My Blog, My Site
Availor

Offline Offline

Posts: 225



« Reply #10 on: June 26, 2008, 11:37:07 AM »

Thanks for the module  grin How can I change the coding to Utf-8? http://www.videoxone.com/demo/baker1/pages/code.php It shows gibberish when I user Hebrew language
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #11 on: June 26, 2008, 06:46:31 PM »

Hello,

How can I change the coding to Utf-8? http://www.videoxone.com/demo/baker1/pages/code.php It shows gibberish when I user Hebrew language
Not
this module uses utf-8 natively.

Entering 'testöäü' i get  'testöäü' (this is utf-8 displayed wrongly as latin1). Very strange.

please can you try the script from
http://help.websitebaker.org/pages/en/still-questions.php (below "Raising the right question" -> Note: ... text file
It isn't adapted for use with wb2.7 - but nevertheless it will display the relevant informations needed.

thorn.
Logged

Availor

Offline Offline

Posts: 225



« Reply #12 on: June 26, 2008, 08:32:54 PM »

http://www.videoxone.com/demo/baker1/pages/text-code.php This is the result. If you notice the header of the script is fine only the tags itself are gibberish. If I write in Hebrew it displays the characters correctly so I assume the problem is in the code of the module.
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #13 on: June 26, 2008, 09:40:16 PM »

Hello,

that looks all fine...

please put
Code:
if(file_exists(WB_PATH.'/modules/searchtools/tagcloud/tagcloud.php')) {
  require_once(WB_PATH.'/modules/searchtools/tagcloud/tagcloud.php');
  $tags = fetch_tagcloud('dist', 100);
var_dump($tags);
  display_tagcloud($tags, 'Most searched words');
}

into your code-sections.

thorn.
Logged

bupaje

Offline Offline

Posts: 519


WWW
« Reply #14 on: June 26, 2008, 10:11:58 PM »

I don't know anything about this but I read on the net that it is not enough to put the page encoding on the page. The data has to have been saved as utf-8 format also. I think in database utilities like phpadmin you can see what encoding the tables have? I also wonder if in the WB control panel under settings/advanced you had charset set to utf-8, or just in the template you did that.

Again, I don't know much so ignore me if this is off mark.
Logged

My Blog, My Site
Availor

Offline Offline

Posts: 225



« Reply #15 on: June 27, 2008, 09:42:38 AM »

http://www.videoxone.com/demo/baker1/pages/code.php doesn't seem to work  huh
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #16 on: June 27, 2008, 05:57:57 PM »

Hello,

after some more research, i found a serious bug which produced wrongly converted tags.
It's fixed now.

Thanks, Availor.

thorn.
Logged

Availor

Offline Offline

Posts: 225



« Reply #17 on: June 27, 2008, 07:06:14 PM »

Thank you for the module, it is a valuble add to the website funcionality
Logged
amitmalka

Offline Offline

Posts: 28


« Reply #18 on: July 05, 2009, 05:07:53 PM »

i have this problem with hebrew send me something that help me
Logged
thorn

Offline Offline

Posts: 980


WWW
« Reply #19 on: July 05, 2009, 09:51:04 PM »

Hello,

can you supply the URL of your site? Would help a lot to see what's going on.
In general it's a good idea to try this http://www.websitebaker2.org/forum/index.php/topic,10163.msg59753.html#msg59753 too.


thorn.
Logged

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!