skip to navigation
skip to content

tgapp-smallpress 0.1

Pluggable Minimalistic Blog for TurboGears2 with Attachments and Tags

Downloads ↓

Latest Version: 0.2.1

About TGApp-Smallpress

SmallPress is a Pluggable Minimalistic Blog for TurboGears2. It implements articles with Attachments and Tags support. Uses CKEditor for content editing.

Installing

tgapp-smallpress can be installed both from pypi or from bitbucket:

easy_install tgapp-smallpress

should just work for most of the users

Plugging Smallpress

In your application config/app_cfg.py import plug:

from tgext.pluggable import plug

Then at the end of the file call plug with smallpress:

plug(base_config, 'smallpress')

Run paster setup-app development.ini again to create the tables related to smallpress and start the application. You will be able to access the blog section at http://localhost:8080/smallpress. Management gui will be available when logged with an user inside the smallpress Group.

Exposed Partials

Smallpress exposed a bunch of partials which can be used to render pieces of the blogging system anywhere in your application:

  • smallpress.partials:articles -> Renders the list of articles
  • smallpress.partials:article_preview -> Renders the preview of an article
  • smallpress.partials:tagcloud -> Renders the blog tagcloud section
  • smallpress.partials:search -> Renders the blog search section
 
File Type Py Version Uploaded on Size # downloads
tgapp-smallpress-0.1.tar.gz (md5) Source 2012-01-13 669KB 185