The ultimate SEO solution. Unique for easily published tag clouds of --> all NEWS and --> all articles in --> any category --> you want.
There have been many changes in the meantime. Please read this article from start to finish!
viewtopic.php?p=101142#p101142
viewtopic.php?p=101848#p101848
viewtopic.php?p=108897#p108897
!!! v1.8 README viewtopic.php?p=114476#p114476
!!! v1.9 README viewtopic.php?p=114714#p114714
please "RTFM" [and comments in source code]
![Wink :wink:](/web/20090622015855im_/http://forum.phpwcms.org/images/smilies/icon_wink.gif)
#################################################
Hi folks, friends, people out here,
here comes my first [public] frontend render script written for phpwcms --> TagCloud
[OBSOLETE]
Well, I read a lot of mysql/php code and manuals to cut and paste useful elements after I got an idea [really hard work for me] what happens there. And after some further adjustments - Boom! - v0.1a was ready to go.
How it works:
This script reads and analyzes the content of articles of --> certain site level structures. You can define --> each category by its ID!!!. You can switch on/off further more elements like article title, subtitle, summary, CP HTML, CP Text with image and CP subtitles to match the cloud as well.(with too much cat_ID's it could become a matter of speed, server ram etc. when the page is rendered/parsed out)
After some mathematic operations, counting words etc. there will be a tag cloud in your page, just replacing the RT {TAGCLOUD}. Additionally you can choose to display the occurrence of each tag word and the sorting.
Preparation:
(Please read detailed documentation in the header and the code of the script!)
To get it work [finally] you need a --> Landing Page. This should be a new article anywhere but --> outside the categories to match to cloud! In this article you can/should add e.g. CP HTML (as much as needed) with separate -> anchor tags for each cloud tag which will be linked exactly to its corresponding anchor --> on this landing page. If you don't add a landing page, you will still have the tag cloud but the tags are linked to index.php by default.
Well, it works fine and runs --> exactly [math.] --> without errors but as alpha it has some limitations:
a) you MUST add a landing page by hand
b) you MUST add [after --> fine tuning] the required anchors on the landing page by hand
c) BUT you CAN link all TagCloud links to [any of ] your --> search page [easiest setup]
c) SPEED: the script has to capture THE WHOLE CONTENT of i) public and ii) active articles within the defined categories.
but now saves/recalls {previous=same} results after {just one} first page call [page view] to/from MySQL-QUERY_CACHE
(should work well with MySQL 4.1 and newer]
Tip for --> fine tuning:
1) raise $min
2) add words to $exclude
If you have any idea for optimization, speeding up etc. please go here, PM me or [x] me [x]...
[/OBSOLETE]
Have fun using the newest