Textpattern CMS support forum

You are not logged in. Register | Login | Help

#211 2007-03-15 11:56:25

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

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

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

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

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

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

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

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

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

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

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

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

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

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

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

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

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

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

Board footer

Powered by FluxBB