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.
[gelöscht durch Administrator]
Quote from: Availor on June 25, 2008, 09:55:34 AM
This is the code file - dont know who made it.
It was made by Ron (rsmith): https://forum.WebsiteBaker.org/index.php?action=profile;u=2132 (https://forum.websitebaker.org/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 (http://slink2.no-ip.info/pages/website-baker-info/sample-pages/keyword-tags-test.php)
Ruud
Thanks :-D
Hello,
in the German section, thorn posted another tag cloud admin module you may want to test.
https://forum.WebsiteBaker.org/index.php/topic,10133.0.html
Regards Christian
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?
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
I will... what is a "Working Page" module?
Quote from: Availor on June 25, 2008, 09:15:14 PM
... what is a "Working Page" module?
WYSIWYG with history and working copyhttps://forum.WebsiteBaker.org/index.php/topic,9471.0.html
"Working Copy" not "Working Page".. sry.
Best,
Stefek
Hello,
Quote from: Availor on June 25, 2008, 08:51:41 PM
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
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
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.
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.
Thanks for the module :-D 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
Hello,
Quote from: Availor on June 26, 2008, 12:37:07 PM
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.
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.
Hello,
that looks all fine...
please put
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.
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.
http://www.videoxone.com/demo/baker1/pages/code.php doesn't seem to work :?
Hello,
after some more research, i found a serious bug which produced wrongly converted tags.
It's fixed now.
Thanks, Availor.
thorn.
Thank you for the module, it is a valuble add to the website funcionality
i have this problem with hebrew send me something that help me
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 https://forum.WebsiteBaker.org/index.php/topic,10163.msg59753.html#msg59753 too.
thorn.