Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#211 2007-03-15 11:56:25
Re: tru_tags: A tagging plugin for textpattern
Try re-posting an article, or switching your site from ‘Live’ to ‘Testing’ and back, and then refreshing the page. TXP’s caching often causes problems like this. If that’s not the problem, I’ll dig into it.
Offline
#212 2007-03-15 16:47:34
Re: tru_tags: A tagging plugin for textpattern
My memory … vanishes …
I can’t remember that I had wishes for such fine features :-)
But, YES, I love your plugin and all those nice features. Kudos for “clouds link to external sites”! Have to check the documentation right now :)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#213 2007-03-15 18:35:05
- Beertigger
- Member
- Registered: 2007-01-30
- Posts: 18
Re: tru_tags: A tagging plugin for textpattern
truist wrote:
Try re-posting an article, or switching your site from ‘Live’ to ‘Testing’ and back, and then refreshing the page. TXP’s caching often causes problems like this. If that’s not the problem, I’ll dig into it.
I’d tried posting and re-posting, but the site status switch seems to have done it… Thanks!
Offline
#214 2007-03-15 21:08:21
Re: tru_tags: A tagging plugin for textpattern
Just implemented the “clouds link to external sites” feature.
My code example to give readers more support when doing a research on the same subject. Examples can be seen on my website (homepage and in the footer of single articles):
<txp:if_individual_article>
<txp:tru_tags_if_has_tags>
<h4>Search keywords from the article on the Internet:</h4>
<p>Technorati: <txp:tru_tags_from_article linkpath="http://technorati.com/search/"
texttransform="capitalize" usenofollow="1" /><br />
Google: <txp:tru_tags_from_article linkpath="http://www.google.com/search?q="
texttransform="capitalize" usenofollow="1" />
</p>
</txp:tru_tags_if_has_tags>
</txp:if_individual_article>
Not so nice is the slash at the end which results in a slash in the search i.e. at Technorati.
Very nice is the automatic URL-encoding.
BTW: I think I prefer http://technorati.com/search/ to gain more results (and the slash at the end vanishes automagically). And of course everybody can link back to i.e. Google with http://www.google.com/search?q= (no consequences through the trailing slash)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#215 2007-03-15 23:22:50
Re: tru_tags: A tagging plugin for textpattern
Hello.. tis a very fine plugin you have here :)
Is it possible to call a combination of live and sticky articles? Something like this…
<txp:tru_tags_if_tag_search><h1>Filed under “<txp:tru_tags_tag_parameter />”</h1></txp:tru_tags_if_tag_search>
<ul class="teasers">
<txp:tru_tags_handler form="archive" status="live,sticky" />
</ul>
At the moment, stickies aren’t showing up.
thanks
Stu
Offline
#216 2007-03-16 00:35:54
Re: tru_tags: A tagging plugin for textpattern
tru_tags is using the standard search code. I think you have to include sticky articles in the output.
txp:article has the following parameter:
searchsticky=“boolean”: When outputting search results, include articles with status ‘sticky’. Available values: 1 (yes) or 0 (no). Default is 0 (no).
Example:
<txp:article limit="10" sortby="Posted" searchsticky="1" />
The tru_tags documentation says about tru_tags_handler:
… This tag accepts most of the standard txp:article attributes, which will be applied during the tag search. …
So I would try to add searchsticky=“1” to your tru_tags_handler parameters. Hmm, it doesn’t work in my TXP 4.0.4 installation.
Nathan, HELP :-)
Side note (TXP 4.0.4, see txp:article): sort added (replaces sortby and sortdir) / sortby and sortdir deprecated. tru_tags is handling sort=“Posted desc” appropriate. Tested and changed.
Last edited by merz1 (2007-03-16 00:36:27)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#217 2007-03-16 01:02:36
Re: tru_tags: A tagging plugin for textpattern
Not so nice is the slash at the end which results in a slash in the search i.e. at Technorati.
I have tested it with Amazon Affiliate keyword search links and the Amazon keyword search produces different outputs.
Example with slash at the end: keywords=Gtd/
Example without slash at the end: keywords=Gtd
@Nathan: Could you change that and create links without the trailing slash?
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#218 2007-03-17 11:40:28
Re: tru_tags: A tagging plugin for textpattern
I’ve just been over to 43places.com and noticed something new. On front page they have the following:
There are 26 places tagged: vintage
I was thinking how easy/hard/impossible this would be to achieve with tru_tags? I was thinking along the lines of this appearing radomly, whereby some code outputs a random string like above e.g. There are [x] posts tagged: [tag_name]
Offline
#219 2007-03-18 05:02:25
Re: tru_tags: A tagging plugin for textpattern
merz1 – I’ve updated v2.1 to not add the trailing slash. Instead, I’ve added a new linkpathtail attribute that lets you explicitly control the suffix of the generated link. If you want a trailing slash, set linkpathtail="/".
pieman & merz1 – it looks like searchsticky doesn’t work with tru_tags. searchsticky only works with TXP’s built-in search function, and it’s ignored in other situations. There is a way to get sticky articles, though. You can make two calls to tru_tags_handler. In one of the calls, set status="sticky". In the other call, leave that attribute off (or set status="live"). The first call will find/show all the sticky articles, and the second call with find/show all the rest. That means that there’s no way to intermingle the articles, but that might be what you want :)
Last edited by truist (2008-07-03 11:55:09)
Offline
#220 2007-03-18 17:30:55
Re: tru_tags: A tagging plugin for textpattern
Thanks! Trailing slash is gone now. Internal tag searches still have the trailing slash but results are microformat spec conform and 100% OK :)
Btw: The trailing slash is still in the documentation … yes, picky today :)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#221 2007-03-20 16:15:16
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
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
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
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
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