Textpattern CMS support forum

You are not logged in. Register | Login | Help

#221 2007-03-20 16:15:16

shotoshi
Member
Registered: 2005-10-08
Posts: 48
Website

Re: tru_tags: A tagging plugin for textpattern

Just noticed a slight problem on my site.

If you look at the following: http://www.holidaypad.net/tag/art

The first 2 plaaces don’t appear to be tagged ‘art’. I couldn’t figure out why they were appearing until I realised:
both of these places are tagged ‘parties’ and the plugin is picking up the ‘art’ in pARTies.

Anyway, I thought of a nice new feature: what about making it so we can highlight the tag in the article
that has been selected?

Offline

#222 2007-03-20 18:31:55

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: tru_tags: A tagging plugin for textpattern

@sotoshi: That is a tru_tags ‘feature based on using the standard search code. I would recommend to have some explaining text on your tag search result page. Like looking for (star)tru_tags_tag_parameter(star) (can also be part of a tag) …

I have noticed that <strong>(star)tru_tags_tag_parameter(star)</strong> is not giving the expected result.

@Nathan: Maybe a wraptag parameter for tru_tags_tag_parameter would be a nice idea?
And a choice of quote signs (like in countwrapchars)?

This would make tru_tags_tag_parameter more self-explaining in the editorial context.

Last edited by merz1 (2007-03-20 18:34:14)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#223 2007-03-20 18:44:43

shotoshi
Member
Registered: 2005-10-08
Posts: 48
Website

Re: tru_tags: A tagging plugin for textpattern

Cheers for the explanation Merz1, but that’s not a standard feature I’m keen on ;-)

And neither am I keen on having to explain to our readers ;-)

Last edited by shotoshi (2007-03-20 18:46:31)

Offline

#224 2007-03-22 01:08:54

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 256
Website

Re: tru_tags: A tagging plugin for textpattern

shotoshi – The “art” problem is a known limitation of the way I’ve implemented tru_tags, as documented on my site (scroll down to the “known issues”). I depend on Textpattern code to do the actual searching, and there’s no way for me to work around it (short of patching textpattern). Sorry :-(

merz1 – the issue with the asterisks around tru_tags_tag_parameter isn’t specific to that tag – it’s a bug in textpattern / textile. It’s interpreting the less-than sign as an instruction to left-align the paragraph, and applying a style to the “strong” tag accordingly. I’m not sure how to work around it (other than hand-specifying the HTML) but I don’t want to implement tru_tags code just to fix it.

Last edited by truist (2008-07-03 11:53:54)

Offline

#225 2007-03-22 18:00:01

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: tru_tags: A tagging plugin for textpattern

@Nathan: FYI … I am using the asterisks in a page template not in an article with textile.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#226 2007-03-29 16:13:14

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: tru_tags: A tagging plugin for textpattern

tag cloud docu: “usereltags=“1” (default) will turn on the rel=“tag” attribute (used by Technorati), if you are using clean urls. Note that this won’t work if you turn off links. Note that this is off by default in tru_tags_cloud and tru_tags_list.”

Bug in 2.1? It is not only OFF by default in clouds but it also stays OFF when explicitly setting it for a tag cloud. I just did that for a tag cloud on my homepage (sidebar). I used:

<txp:tru_tags_cloud usereltags="1" setclasses="0" texttransform="capitalize" sort="count desc" showcounts="title" mintagcount="5" minpercent="100" maxpercent="160" />

Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#227 2007-03-31 00:54:52

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 256
Website

Re: tru_tags: A tagging plugin for textpattern

Markus, sorry about that. It was a documentation problem. The correct attribute name is “usereltag” (without the “s”).

Offline

#228 2007-03-31 15:34:56

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: tru_tags: A tagging plugin for textpattern

Thanks Nathan! I updated it nearly everywhere (also in related tags) and it works like a charme now.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#229 2007-03-31 16:30:15

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: tru_tags: A tagging plugin for textpattern

Nathan, a new problem :-)

I am trying to tweak my meta-description with tru_tags_related_tags_from_search on tag search result pages. I am ‘surprised’ by span tags around my related tags.

<txp:tru_tags_if_tag_search>
<meta name="description" content="
Stichworte: <txp:tru_tags_tag_parameter striphyphens="1" />, 

<txp:tru_tags_related_tags_from_search wraptag="" class="" breakclass="" 
generatelinks="0" setclasses="0" setsizes="0" listlimit="20" />" />

<txp:else />
</txp:tru_tags_if_tag_search>

As you see I was trying to eliminate everything. Result:

<meta name=“description” content=“Stichworte: papst, <span>buch</span>,
<span>danziger straße</span>, …” />

I find no way to get rid of the span tags. Help!

What about a setspans=“0”?

Last edited by merz1 (2007-03-31 16:30:48)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#230 2007-03-31 19:47:59

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 256
Website

Re: tru_tags: A tagging plugin for textpattern

merz1 – what you tried should have worked. I discovered a slight bug in the code (I forgot a “$” for a variable name) which I’ve fixed and re-posted as v2.1. Give that a try and let me know if it fixes the problem.

Last edited by truist (2008-07-03 11:53:29)

Offline

Board footer

Powered by FluxBB