Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#196 2007-02-26 17:46:20
Re: tru_tags: A tagging plugin for textpattern
Thanks Nathan. You’ve got mail!
Offline
#197 2007-03-04 18:50:59
Re: tru_tags: A tagging plugin for textpattern
molly – sorry for the long delay, but I’ve finally figured it out. (It took a couple of tries.)
The problem is that all of the sections that have tags are also marked as “not searchable” in the “Sections” tab, and tru_tags automatically ignores tags from any section that isn’t searchable. (I had forgotten about this feature, actually.) If you go to Presentation -> Sections and scroll down to the “links” section, and switch “Include in site search?” to “Yes”, the cloud will start working. When tru_tags filters out that section (and all the others), it ends up not finding any tags at all, and that causes the error.
If it’s really the case that you don’t want those sections to be searchable, it’s pretty easy to modify the plugin code to not exclude them. I could also include a flag in the next version to control that behavior. Let me know what you want to do. (Easiest is just to make those sections searchable.)
I’ve left your site as it was (so the cloud is still broken), with the exception that I installed rss_admin_db_manager, which is now turned off. For future reference, I found the problem (finally!) by setting your site to “Debugging” mode and looking at the source of the generated page to see the SQL that was being run. That’s where I saw that it was filtering out all the sections.
Please let me know if you need any more help :)
Offline
#198 2007-03-04 19:06:56
Re: tru_tags: A tagging plugin for textpattern
Nathan,
THANK YOU!!! I would never have found this on my own.
We don’t even use the site search for this site, so no need to modify the code.
I very much appreciate your time and effort. I have asked the site owner to send a few bones your way. :)
Last edited by molly (2007-03-04 19:11:10)
Offline
#199 2007-03-04 19:31:58
Re: tru_tags: A tagging plugin for textpattern
If it’s really the case that you don’t want those sections to be searchable, it’s pretty easy to modify the plugin code to not exclude them. I could also include a flag in the next version to control that behavior. Let me know what you want to do. (Easiest is just to make those sections searchable.)
Nice support, nice easter egg and a good idea (the flag).
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#200 2007-03-06 18:07:21
Re: tru_tags: A tagging plugin for textpattern
In the referrerlist I’ve started to get broken links from spiders that look like this:
domain.foo/tag/?t=tag
Which is really odd as I’ve used clean urls all the time and I have textpattern installed in a subfolder called “sv”.
Edit: found the problem. Had to edit line 355 to ‘/sv/’ instead of just ‘/’. It’s not elegant, but it works.
Last edited by nicklas (2007-03-06 19:29:58)
Offline
#201 2007-03-06 19:43:19
Re: tru_tags: A tagging plugin for textpattern
Now that you mention it, I’m seeing the same problem also. I’m guessing that it’s not a problem end-users are seeing. It’s probably caused by the way I’m manually rewriting the URL in the plugin code, and the manual changes are probably affecting the logging. Search engines seem to be indexing the correct URLs. Please let me know if this causing any immediate problems; otherwise, I’ll add it to the list for the next version.
Offline
#202 2007-03-06 21:11:50
Re: tru_tags: A tagging plugin for textpattern
@Nathan: Search engines are definitely indexing the correct URL. I am not using the Textpattern protocol so I don’t see the problem. But all incoming referrers from search engines are clean URLs and OK.
BTW: A great tool to monitor incoming search engine traffic is the Javascript powered 103bees.com solution.
Last edited by merz1 (2007-03-06 21:15:20)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#203 2007-03-07 13:13:03
Re: tru_tags: A tagging plugin for textpattern
Yep, I can concur, ever since i installed and started using this plugin I’ve noticed my tag section (and tags) are getting indexed on Google. I assume that is what is happening as I’m seeing people coming from Google having typed in something like “romantic villa in tuscany” etc. When I do same search in Google I’ve noticed that sometimes links to my tag sections are showing up in search results.
I guess that means Google is indexing them?
If so then it’s pretty cool actually. I never expected that benefit from using this plugin. With all that unexpected traffic it’s a pity I don’t have Adsense. But principles are principles.
Last edited by shotoshi (2007-03-07 13:13:34)
Offline
#204 2007-03-12 18:18:45
Re: tru_tags: A tagging plugin for textpattern
I’ve just updated to tru_tags version 2.0 and I am very pleased with the improvements. Sadly the support for international characters seems broken all of a sudden. A tag like “samhälle” worked fine in version 1.6, but doesn’t yield any results during a tag search in 2.0. Has anyone else noticed this? Any suggestions?
/Joakim
Offline
#205 2007-03-12 22:58:51
- Beertigger
- Member
- Registered: 2007-01-30
- Posts: 18
Re: tru_tags: A tagging plugin for textpattern
truist wrote:
It’s possible that I broken the messy-url generation in v2.0. Is anyone else using messy urls for tru_tags?
I’m using messy urls, and am getting the extra / at the end which is throwing a monkey wrench in the works.
Any idea on how to get this to work?
Offline
#206 2007-03-13 07:48:19
Re: tru_tags: A tagging plugin for textpattern
Regarding international characters: they seem to work fine in version 2.0. I had a conflict with another URI related plugin. My apologies.
Offline
#207 2007-03-13 11:48:28
Re: tru_tags: A tagging plugin for textpattern
december76 – woohoo! I was worried about that one :)
Beertigger – I hear your pain and it’s at the top of my priority list. I’ll look into it tonight or tomorrow night.
Offline
#208 2007-03-13 16:34:44
- Beertigger
- Member
- Registered: 2007-01-30
- Posts: 18
Re: tru_tags: A tagging plugin for textpattern
truist wrote:
Beertigger – I hear your pain and it’s at the top of my priority list. I’ll look into it tonight or tomorrow night.
Gracias!
Offline
#209 2007-03-14 04:20:35
Re: tru_tags: A tagging plugin for textpattern
I’m pleased to announce the release of tru_tags v2.1. This release fixes all of the known bugs and adds a few minor (but requested!) features. Specifically:
- merz1 – I’ve put in attributes to let you Capitalize (or UPPERCASE) tags from within the plugin
- OpalCat and Beertigger – I’ve fixed messy URLs
- molly and merz1 – I added two new attributes (
filtersearchandexcludesection) that provide finer-grained control over when/how/which sections are excluded - molly – I fixed the error message about
min()andmax()that was showing up if the cloud was empty - nicklas – I think I’ve partially fixed the problem you were having with your log files. Can you let me know if v2.1 is equivalent to your hand-edit?
- Clean URLs are now automatically on or off based on how you have your site configured
- It’s now possible to have clouds link to external sites (or alternate locations on your site)
- I fixed a minor warning message that would appear if you had php logging turned up to “notify”
Sorry for the long delay – as usual, work took precedence. Also as usual, there are extensive details in the documentation. Please let me know if you run into any problems :)
Last edited by truist (2008-07-03 11:55:35)
Offline
#210 2007-03-15 05:42:23
- Beertigger
- Member
- Registered: 2007-01-30
- Posts: 18
Re: tru_tags: A tagging plugin for textpattern
Still getting a 404 off the tag cloud links; they’ve got the / on the end, still, which apparently sends things all wonky.
Offline