Ohloh Widgets Macro
Ohloh has some nice widgets which you can put on your site to show some statistics about your project. This software is about a trac macro to make embedding these widgets in your trac wiki easy and does not force you to lower trac's security settings. Also this macro has a special API so you can modify any Ohloh widget so it blends in better with your layout.
The whole code is licensed under the very liberal MIT license so you can use it in your own code without problems.
Also you can display a group of widgets together:
[[OhlohWidgetGroup(483602, project_basic_stats, project_factoids, project_users?style=green)]]
This has the advantage that all widgets are grouped in a div so you can style it easily. For example the widget list on the left side of this page is a widget group with some custom
Download and Configuration
- tar.gz: http://pypi.python.org/pypi/OhlohWidgetsMacro
- source: hg clone https://www.schwarz.eu/opensource/hg/ohloh_widgets_macro
Enable the macro in your trac.ini:
[components] ohloh_widgets.macro = enabled # if you want to have better display of certain macros, enable also widget modificators: ohloh_widgets.* = enabled
Dependencies and Compatibility
- Python 2.3-2.6
- trac 0.11 or 0.12
- So far I did not bother setting up a support mailing list, just send an email if you have questions.
- If you found a bug, please file a bug.
If you like this software, please do me a favor and vote on Ohloh and/or click the 'I use it' button on right.