Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install betahaus.contextcloud

How to install betahaus.contextcloud

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install betahaus.contextcloud
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1b Available View build log
Windows (64-bit)
0.1b Available View build log
Mac OS X (10.5+)
0.1b Available View build log
Linux (32-bit)
0.1b Available View build log
Linux (64-bit)
0.1b Available View build log
 
License
GPL
Dependencies
Lastest release
version 0.1b on Mar 23rd, 2011

Betahaus ContextCloud

Introduction

A simple tag cloud or list that shows what's in this context. It's only usable for folderish things including collections. If you combine several portlets it will work like a facet navigation. It doesn't require any customisation or customized listing templates - it should just work with whatever you have in place or the Plone default ones.

The tag cloud uses the power law to normalize sizes. In most usecases when tags are folksonomy-based it should cause the most used tags to have a bit less weight proportionally to the other tags.

The package itself consists of an adapter that does all computing (to make it simple to use it for other things) and a portlet that displays stuff.

Usage
  • Install the product (in buildout and in Plone)
  • Go to manage portlets and select "Context cloud portlet".
  • Catalog index is the index to build results from. It has to exist as a column

System Message: WARNING/2 (<string>, line 34)

Bullet list ends without a blank line; unexpected unindent.

in the portal catalog. (It won't be selectable here if it doesn't) * Cloud shows results as a tag cloud. * List shows it as a list with the number of occurences to the right. * Level is only used for tag clouds. It sets how many different levels (sizes) it should have. If you use more than 5 you need to add css for it. (see the css file) * The portlet will show up in any folderish context with at least 1 result for the catalog index you selected. * That's it.

Caveats
  • I didn't want to add any caching at this stage. It doesn't make sense unless you have

System Message: WARNING/2 (<string>, line 48)

Bullet list ends without a blank line; unexpected unindent.

an enormous amount of hits and content, and in that case you'll have Varnish or something else in front anyway, right?

Found a bug?

Please contact the author at robin (at) betahaus.net

If you want to participate in development of this or any other project that Betahaus does, check out http://dev.betahaus.net.

Contributors
http://betahaus.net/logo.jpg

System Message: WARNING/2 (<string>, line 69)

Explicit markup ends without a blank line; unexpected unindent.
alt:Betahaus logo
target:http://betahaus.net

Made by Betahaus - if you want to contribute, visit http://dev.betahaus.net

Changelog

0.1b (2011-03-22)
  • Initial release

Subscribe to package updates

Last updated Mar 23rd, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.