Collection

class ablog.blog.Collection(catalog, label, name=None, href=None, path=None, page=0)

Bases: ablog.blog.BlogPageMixin

Posts sharing a label, i.e. tag, category, author, or location.

Attributes Summary

catalog Catalog that the collection belongs to.
docname Collection page document name.
path Collection page document name.

Methods Summary

add(post) Add post to the collection.
relsize([maxsize, minsize]) Relative size used in tag clouds.

Attributes Documentation

catalog

Catalog that the collection belongs to.

docname

Collection page document name.

path

Collection page document name.

Methods Documentation

add(post)

Add post to the collection.

relsize(maxsize=5, minsize=1)

Relative size used in tag clouds.

Comments

comments powered by Disqus