Version 11 (modified by Odd Simon Simonsen, 10 years ago) (diff)

Putting tags provider on to-do list.

Self-contained Blog plugin


This plugin provides a project Blog, but unlike TracBlogPlugin and SimpleBlogPlugin it does not use Wiki pages to store the content. It has no dependencies on other plugins.

This is a preview beta release, only available for an up-to-date 0.11dev. The implemented features should work as expected, but some features are not yet completed.

Basic features are:

  • Create, edit and view blog posts under a new 'Blog' menu.
  • Browse post by month, category and author + and Archive page for all posts.
  • Attachments on blog posts.
  • Comments for blog posts.
  • Posts and comments in Timeline / RSS.
  • Search for blog posts and comments.
  • Admin page for basic settings.
  • Support for Trac fine-grained permissions security checks (based on resource / realm).
  • Special handling of a post named 'about'.
  • Area in sidebar for information text, blogroll, links and similar.
  • Link provider, like [blog:this_is_my_post] and [blog:category/trac] and [blog:2007/10].

Some planned features are not yet done:

  • Diff between version of the post.
  • Delete post version, delete post and delete comment.
  • XmlRpcPlugin support.
  • Some sort of news-listing macro thing that will look nice on a project front page, or as summary for categories and author tags. Not sure yet about the details and what it should look like. Input welcome :-)
  • Add a tags provider for TagsPlugin if plugin is available.

That means:

  • Use in production at your own risk as it is still in beta.
  • Don't file tickets for tasks that are missing as in 'not implemented' (see list above).
  • Feedback is most welcome - see osimons to get in touch with me by mail or on the #trac channel.


The plugin in action:

Bugs/Feature Requests

Existing bugs and feature requests for FullBlogPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:fullblogplugin here].


You can check out FullBlogPlugin from here using Subversion, or browse the source with Trac.


Get started:

  1. Install the plugin in your preferred manner.
  2. Enable the plugin:
    tracfullblog.* = enabled
  3. Run trac-admin /path/to/env upgrade.
  4. Restart server and as TRAC-ADMIN you should now see 'Blog' in menu.
  5. Add one or more permissions to let users view, create, comment and modify posts (see list above).

The link to 'Blog' in menu will appear last. To move it, edit your trac.ini config file to add blog into the ordered list:

mainnav = wiki,blog,timeline,....

Recent Changes

16217 by osimons on 2017-02-01 12:59:48
FullBlogPlugin: Render genshi admin template correctly with very latestst jinja2 support in Trac trunk (1.3.2dev).
16216 by osimons on 2017-02-01 11:30:06
FullBlogPlugin: Small (but vital) fix for reading version from database correctly.
16215 by osimons on 2017-02-01 01:12:08
FullBlogPlugin: Various compatibility fixes to make plugin (apparently) compatible with current Trac trunk at ~1.3.2dev.

Now also with basic tests for web requests.
Also a missing db.commit() for old compat code.



Author: osimons

Attachments (2)

Download all attachments as: .zip