Beispiel #1
0
 def tagList(self):
     freqs = tagging.getTagsWithFreqs(self.graph)
     return freqs.keys()   
Beispiel #2
0
 def render_tags(self, ctx, data):
     freqs = getTagsWithFreqs(self.graph)
     freqs = sorted(freqs.items(), key=lambda (t, n): (-n, t))
     return T.ul[[
         T.li[T.a(href=["set?tag=", t])[t, " (", n, ")"]] for t, n in freqs
     ]]
Beispiel #3
0
 def render_tags(self, ctx, data):
     freqs = getTagsWithFreqs(self.graph)
     freqs = sorted(freqs.items(), key=lambda (t, n): (-n, t))
     return T.ul[[T.li[T.a(href=["set?tag=", t])[t, " (", n, ")"]] for t, n in freqs]]
Beispiel #4
0
 def tagList(self):
     freqs = tagging.getTagsWithFreqs(self.graph)
     return freqs.keys()