What are your thoughts on a category cloud ? You know kinda like a tag cloud but since
pritlog calls it categories it's a cat cloud! Display the most used category title/names.
Would need to create an entry for config file for how many category/tags to display,
such as $config_entriesOnCat ="5" This is not for prit only, but for those who might be interested as well.
Category Cloud
(8 posts) (2 voices)-
Posted 3 years ago #
-
Well, for now I'm going to go with this as it should be god enough for my wants: http://pastebin.ca/1315460
Hope this helps for others.Posted 3 years ago # -
hey Ken... Yeah this is a good idea. I had thought once before, then didnt pay attention. But this is the web 2 way of doing it. Anyway, I will see if I can get this in by this release or maybe the next one.
Usually, do people think that tags have to be like delicious tags? In the sense - multiple tags for each category - separated by spaces?
Posted 3 years ago # -
Hi Ken .. I just added an experimental category cloud to the test blog:
http://hardkap.net/labs/pritlog48f/blog.php/mainPageFor it to be actually called tag cloud, we may have to remove the categories from Pritlog and start using tags. So multiple tags should be allowed when posting.
Let me know your thoughts.
Posted 3 years ago # -
My intentions for posting this topic here was to draw interest to see what we could come up with. I never intended for this to be something to look forward to in the coming version. And also I like the category cloud idea rather than tags. My first attempt failed and it seems I must learn more about this 'array' php stuff.. So, if I can in the coming weeks modify the function then I'll keep it within this post.
Posted 3 years ago # -
So, is the category cloud okay at the top?
Posted 3 years ago # -
I took a look at the source and it appears that one could modify it a bit so as to be placed in the sidebar. Is that correct ? And why would you rather ditch the category ?
http://www.lotsofcode.com/php/tag-cloud.htm
http://us.php.net/manual/en/function.shuffle.php
http://us.php.net/manual/en/function.array-fill.php
http://us.php.net/manual/en/function.array-rand.php
http://r2soft.blogspot.com/2007/12/how-to-create-tag-cloud-with-formula.htmlPosted 3 years ago # -
Yes, this block can be directly moved to the sidebar. The CSS may need a little adjustment too. I have been using the bookmarking site called delicious.com for quite sometime now. They use only tags, there are no categories. I felt that approach was a good one too.
Anyway, as this category cloud I have added is pretty simple and does not add much extra processing or weight to Pritlog, I will stick to it.
Thanks for all those links Ken.
Posted 3 years ago #
Reply
You must log in to post.