Textpattern Forum

You are not logged in. Register | Login | Help

#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

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

Re: tru_tags: A tagging plugin for textpattern

Thanks, mhulse. I’m glad you enjoy it :)

Offline

#373 2008-01-05 14:08:35

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,035
Website

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?


TXPQ Examples and discussion of Textpattern CMS quality.

Offline

#374 2008-01-05 17:09:26

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

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

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,035
Website

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.


TXPQ Examples and discussion of Textpattern CMS quality.

Offline

#376 2008-01-05 18:42:50

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

Re: tru_tags: A tagging plugin for textpattern

Did you check the source code of the feed?
Right now I only see <category term=”“ /> which are totally OK as tags for Technorati.

Keywords are listed as category tags in the atom feed:

<category term="textpattern" />
<category term="txp" />
<category term="design" />

<category term="interview" />
<category term="plugins" />

AND: You are offering a ‘section feed’. Maybe there are problems? Please activate the ‘add tags’ feature and check the source code!

I have added an extra form ‘tru_tags_feed_tags’ which is pretty powerful :)
This form allows you to append any content to the original feed.
The tag links contain the rel=“tag” attribute.

Tru_Tags Documentation (Step 6):

By default, the tags will show up at the end of your post in a paragraph that looks like “tags: trees, flowers, animals, etc” (with links, and with rel=“tag”). If you want to customize this display, simply create a new ‘misc’ form (in the Textpattern admin) named “tru_tags_feed_tags”. Anything you put into that form will be put into the ‘body’ of your RSS/Atom feed(s).

For the tags I use the following condition:

<txp:tru_tags_if_has_tags>
<strong>Keywords:</strong> <txp:tru_tags_from_article  texttransform="capitalize" />
</txp:tru_tags_if_has_tags>

Plus some other conditions … check it out if you want: Hamburg St. Georg Feed (and/or add /atom or /rss to my homepage URL)

Technorati picks up the tags/categories from your article page after being pinged.


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

Offline

#377 2008-01-05 19:41:48

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,035
Website

Re: tru_tags: A tagging plugin for textpattern

Thanks, Markus, I got it now. For some reason I did not think there was a source code and I am feeling very stupid now!

I was using Step 6 that you refer to. I mentioned it above when I wrote:
“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 think the problem must have been that at the beginning I changed the tags (keywords) round a bit, so Technorati had picked up my first ping but had not picked up the changes. (The last two paragraphs of the Q: My posts are indexed, but my tags aren’t. What can I do? explains why).

Thanks for you your help, sorry for my stupidity, and I can now play with tru_tags and get the most out of it. Cheers!


TXPQ Examples and discussion of Textpattern CMS quality.

Offline

#378 2008-01-06 04:10:19

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

Re: tru_tags: A tagging plugin for textpattern

Marcus, thanks a lot for your help!

zero, glad you got it worked out.

Offline

#379 2008-01-06 16:26:49

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

Re: tru_tags: A tagging plugin for textpattern

Nathan: Happy New Year! Where is my A-Z index :-)

Zero: Thumbs up for your alternative TXP magazine project TXPQ! Nice interviews! Maybe you can start a thread here in the forum to announce the project and new articles in the future. From me you get a vote +1 :)


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

Offline

#380 2008-01-06 17:39:03

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,035
Website

Re: tru_tags: A tagging plugin for textpattern

Thanks, Markus. The nice interviews are down to the nice interviewees. TXP users are generally a very cool bunch so it’s a pleasure to ask a few questions and get to know them a little bit.

I announced TXPQ in the txpmag.com thread and I post articles once a week and sometimes announce them in a Feedback forum thread or sometimes in Lets See Yours Then

But perhaps you’re right and I should start a new thread but I’m not sure where’s the best place to put it. Thanks for the del.icio.us links, btw. Now I’ve got broadband I should really be using those sort of sites to raise awareness of TXPQ. I just started using Digg and it brings in visitors, and Technorati and del.icio.us may help too now that I’ve subscribed.


TXPQ Examples and discussion of Textpattern CMS quality.

Offline

Board footer

Powered by FluxBB