Tags in Roller & Technorati

Two days ago, I looked at how to display the tags assigned to an article hosted in roller and left the question of generating techorati tags unfinished.

<!-- Now lets technorati tag the tags -->
<P><small>technorati tags:
    #set ($mytags=$entry.tags)
    #foreach ( $tag in $mytags )
        <a rel="tag" href="http://technorati.com/tag/$tag.name">$tag.name</a>
        <!-- NB there is a trailing space on the line above #end -->
    #end
</small></P>

should produce the technorati tag list in a small font paragraph. Now on to Chris's challange.  

I have a challenge about how to migrate forward, since if I put this code in the _day file (inside the entries loop), than I will get the technorati tags twice, for those articles with both roller tags and technorati tags specified. This is caused by my eagerness to load my tags into roller to see my tag cloud; thats why I have articles with both roller and techorati tags. I might be able to create a local velocity macro and use this as content within an article, but I think the _day file is the right place. Have to think about it.

The tags are thus still done by hand.

 

tags:

Comments:

Can you compare the time in with a point in time where you only have one set of tags?

Posted by Chris Gerhard on November 30, 2006 at 11:15 PM PST #

Post a Comment:
Comments are closed for this entry.
About

DaveLevy

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today