askbot.templatetags.extra_tags

class askbot.templatetags.extra_tags.IncludeJinja(filename)

Bases: django.template.Node

http://www.mellowmorning.com/2010/08/24/

render(context)
askbot.templatetags.extra_tags.cnprog_paginator(context)

custom paginator tag Inspired from http://blog.localkinegrinds.com/2007/09/06/digg-style-pagination-in-django/

askbot.templatetags.extra_tags.gravatar(user, size)

Creates an <img> for a user’s Gravatar with a given size.

This tag can accept a User object, or a dict containing the appropriate values.

askbot.templatetags.extra_tags.include_jinja(parser, token)
askbot.templatetags.extra_tags.tag_font_size(max_size, min_size, current_size)

do a logarithmic mapping calcuation for a proper size for tagging cloud Algorithm from http://blogs.dekoh.com/dev/2007/10/29/choosing-a-good- font-size-variation-algorithm-for-your-tag-cloud/

This Page