Skip to main content

Pluggable Minimalistic Blog for TurboGears2 with Attachments and Tags

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tgapp-smallpress-0.1.tar.gz (685.3 kB view details)

Uploaded Source

File details

Details for the file tgapp-smallpress-0.1.tar.gz.

File metadata

File hashes

Hashes for tgapp-smallpress-0.1.tar.gz
Algorithm Hash digest
SHA256 0ebb89d07fb73195e3e95660951229c4a74cd50ce562bb188ea191cae9590c54
MD5 435d3aad1bfdad80492edbc0cd7083e6
BLAKE2b-256 70bce3da25d976e12cc1908a7d4e13b20268fe1325bcfec7ba693bf311edd493

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page