Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#361 2007-12-27 02:01:15
Re: tru_tags: A tagging plugin for textpattern
mhulse wrote:
Using <txp:tru_tags_handler />, can I tell it not to display a the tag cloud? I would prefer to do this manually using <txp:tru_tags_cloud />.
I don’t quite get it. What do you mean by this?
Any thoughts on this? When I go to my “tag” section, the tags are displayed via the tru_tags_handler… Can that feature be turned off?
I don’t get this neither. You don’t want to show tagcloud? Or you don’t want to show relately tagged articles?
<txp:tru_tags_handler /> just shows the articles inside specific form, <txp:tru_tags_cloud /> outputs the form. If you have cloud there just remove it from your template/forms as <txp:tru_tags_handler /> only outputs the articles.
Cheers!
Offline
#362 2007-12-27 02:21:59
- mhulse
- Plugin Author

- From: Eugene Oregon
- Registered: 2005-01-21
- Posts: 200
Re: tru_tags: A tagging plugin for textpattern
Hi Gocom! Thanks for the help… sorry if I am being vague. :(
I did not realize that tru_tags_handler only dealt with the articles… I think I need to take a second look at my templates then… Because when I go to the default “site.com/tag” “section”, it looks like the handler outputs a cloud by default.
Thanks for the help though… I am probably just doing something wrong here.
I will dig-into this deeper and report back my findings… that is, if I find anything to report on. :D
Cheers,
Micky
Last edited by mhulse (2007-12-27 02:22:20)
Offline
#363 2007-12-27 05:52:14
- mhulse
- Plugin Author

- From: Eugene Oregon
- Registered: 2005-01-21
- Posts: 200
Re: tru_tags: A tagging plugin for textpattern
<txp:if_section name="tag">
<txp:tru_tags_handler />
<txp:else />
...
...
For me, <txp:tru_tags_handler /> definitely outputs a tag cloud.
Additionally, I have not specified a form, but it is using the default form, not the default search form like it says in the documentation:
Note that tru_tags_handler uses the default “search_form” form for rendering its output, or you can override this with the searchform attribute.
Not that I am complaining though. This is an amazing plugin. I am blown away at the quality of worksmanship. I wish I could develop something this amazing and robust! :D
Additionally, my template setup is a little complex, so I am sure I am A) confusing myself with complex templating, or B) setting-up the tru_tag wrong.
No one else is seeing <txp:tru_tags_handler /> (with no attributes specified) generate a tag cloud (when no tags are in url)?
Last edited by mhulse (2007-12-27 05:53:17)
Offline
#364 2007-12-27 06:16:12
Re: tru_tags: A tagging plugin for textpattern
No one else is seeing <txp:tru_tags_handler /> (with no attributes specified) generate a tag cloud (when no tags are in url)?
Yes, it does output tagcloud when no tag is viewed. I just wonder why you want to take it off, as no-one tag is meant to be tag-viewing section.
Cheers!
Offline
#365 2007-12-27 06:24:36
Re: tru_tags: A tagging plugin for textpattern
Forgotten to write the solution. Well it is:
<txp:tru_tags_if_tag_search>
<txp:tru_tags_handler />
</txp:tru_tags_if_tag_search>
Now it renders the <txp:tru_tags_handler /> only when a tag is specified.
Cheers!
Last edited by Gocom (2007-12-27 06:25:15)
Offline
#366 2007-12-27 06:26:58
- mhulse
- Plugin Author

- From: Eugene Oregon
- Registered: 2005-01-21
- Posts: 200
Re: tru_tags: A tagging plugin for textpattern
Gocom wrote:
Yes, it does output tagcloud when no tag is viewed. I just wonder why you want to take it off, as no-one
tagis meant to be tag-viewing section.
Hi Gocom. Thanks for your time. And thank you for the clarification.
I guess I would prefer to manually show the cloud with <txp:tru_tags_cloud />, even on the tag index page.
One benefit of this approach: I do not have to repeat the attributes for both tags (less redundancy and upkeep).
Well, not a big deal either way. Hehe. Glad to hear I am not doing it wrong.
Have a great one!
Cheers,
Micky
Offline
#367 2007-12-27 06:28:21
- mhulse
- Plugin Author

- From: Eugene Oregon
- Registered: 2005-01-21
- Posts: 200
Re: tru_tags: A tagging plugin for textpattern
Gocom wrote:
Now it renders the
<txp:tru_tags_handler />only when a tag is specified.
Whoa! Nice one! Thanks!!!! :D
That approach works wonderfully. I owe you a brewski!
Cheers!
Last edited by mhulse (2007-12-27 06:31:12)
Offline
#368 2007-12-28 19:02:14
Re: tru_tags: A tagging plugin for textpattern
Hey all – again, sorry for my absence. I again didn’t get an email about the updates. (I do’ have the “Subscribe” checkbox checked.) Maybe my spam filter is blocking them – I’ll check that.
Either way, it sounds like all the issues have been worked out in my absence – thanks! To review:
zero, net-carver is right – if you’ve deleted the plugin, then the problem must be somewhere else.
mhulse, Gocom has it right, but let me explain why tru_tags works that way. tru_tags_handler has two purposes. Its primary purpose is to render the results of a tag search, as you expect. It also knows how to render a tag cloud, just in case there is no tag specified. I had to do something with that URL, and rendering a tag cloud seemed reasonable. I couldn’t imagine a case where someone would directly link to that page. It sounds like you have such a situation, though :)
In your case, you have a number of options. tru_tags_handler is just calling out to tru_tags_cloud to render the cloud, so it should accept all the same attributes as tru_tags_cloud. If, as you say, you prefer to just maintain a single tru_tags_cloud call, you can also do what Gocom suggested and wrap tru_tags_handler in an “if”.
Last edited by truist (2007-12-28 19:02:39)
Offline
#369 2007-12-29 01:21:01
Re: tru_tags: A tagging plugin for textpattern
> I couldn’t imagine a case where someone would directly link to that page.
A-Z index :-) … for better performance …
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#370 2007-12-29 16:11:58
Re: tru_tags: A tagging plugin for textpattern
Is it possible to place a tag cloud in each section, that only pulls out tags from article in that section?
Edit: Sorry – found the answer in the docs.
Last edited by jstubbs (2007-12-29 17:33:48)
Offline
#371 2007-12-29 21:14:36
- mhulse
- Plugin Author

- From: Eugene Oregon
- Registered: 2005-01-21
- Posts: 200
Re: tru_tags: A tagging plugin for textpattern
truist wrote:
mhulse, Gocom has it right, but let me explain why tru_tags works that way. tru_tags_handler has two purposes. Its primary purpose is to render the results of a tag search, as you expect. It also knows how to render a tag cloud, just in case there is no tag specified. I had to do something with …<snip>… attributes as tru_tags_cloud. If, as you say, you prefer to just maintain a single tru_tags_cloud call, you can also do what Gocom suggested and wrap tru_tags_handler in an “if”.
Hi Truist, many thanks for your reply! I really appreciate the detailed explanation. Very informative.
The Gocom solution worked very well.
Thanks for this amazing plugin! I hope one of these days I can write a plugin that you find just as useful and amazing as tru_tags (one can dream, right?) :D
Have a great day!
Cheers,
M
Offline
#372 2007-12-30 04:04:34
Re: tru_tags: A tagging plugin for textpattern
Thanks, mhulse. I’m glad you enjoy it :)
Offline
#373 2008-01-05 14:08:35
Re: tru_tags: A tagging plugin for textpattern
In your instructions, Nathan, you state:
“By default, tru_tags includes article tags in the RSS and Atom feeds, using standard XML elements so that Technorati (and others) will discover the tags.”
I haven’t had it installed long and it seemed that Technorati was only discovering the categories and only listed those under its Tags and did not list anything from my ‘keywords’ field.
So when I saw this:
“tru_tags also supports adding article tags to the ‘body’ of the feeds”
I applied your suggestion and now technorati picks up those tags.
I would prefer not to add tags to the body of feeds but will technorati pick up the tags? Is it just me or does technorati need tags to be in the rss body if categories are also being used?
Dozy P My attempt at music
Offline
#374 2008-01-05 17:09:26
Re: tru_tags: A tagging plugin for textpattern
Pls. check the T. help pages i.e. Q: My posts are indexed, but my tags aren’t. What can I do?
Technorati …
- Picks up every link which has an rel=“tag” attribute. T. help: Verify the format of the tag code. Please check to make sure you include a defined tag relationship of rel=“tag” for each link you would like indexed as a post tag.
- Tags in feeds are crawled/indexed earlier. T. Help: …make sure your tags are included in the associated Atom or RSS feed.
- The page crawler is pretty slow and undependable.
T. help says re. categories: Since categories are considered as tags, these are picked up when the post is first indexed.
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#375 2008-01-05 17:49:35
Re: tru_tags: A tagging plugin for textpattern
Thank you, Markus. I hadn’t seen that before.
It seems that tru_tags is not adding rel=“tag” to my feeds, except in the circumstances I described.
I’ve just turned off the option in the tru_tags extensions to “Append the tag list to the body of RSS/Atom” and now a look at http://txpq.com/atom/ shows no rel=“tag”. I thought perhaps it was because I use the txp preference of “Syndicate article excerpt only”, but setting this to No still doesn’t produce any tags in the feed.
However, the feed doesn’t show categories either, but I know these are picked up by Technorati so I still don’t know what is going on.
Dozy P My attempt at music
Offline