Skip to main content

Introduction

This product provides an aggregation solution for our specific environment.

What makes our environment relatively unique?

The fact that almost all content must be available in more than 20 languages. In addition to that, content distributed over various subsites, each with it’s own news and events folders and various other duplications.

Inevitably, a lot of content duplication results, as News Items are located all over the place and content creators are not aware of their existence.

slc.aggregation is therefore part of our Resource Centralisation strategy.

You could use Collections/Topics, but they have some flaws when it comes to a multiple language environment. For example, each Collection we add, needs to be translated into about 22 languages.

This product therefore adds a new aggregation mechanism, for use in sites with many language versions.

How to use:

A new subtype ‘Aggregator’ is created in descriptors.py and it can be applied to all Folders in the Site.

When browsing in Plone, you will see that there is a ‘subtypes’ menu visible in the folder actions bar.

You can click on this menu and then choose ‘Aggregator’ to change your folder into an aggregator.

On reload, the Folder will now have a new view, with nothing in it, because nothing is yet aggregated. You will notice a new object tab labeled ‘Aggregation’. You can click on it, and find the form for configuring you aggregator.

The values you specify will basically be used to construct a catalog query, that fetches the objects for you.

If correctly configured, your folder’s view should now show a batched listing of the aggregated objects.

Known Issues:

To use the aggregator in a multi-language site, you have to subtype all the translations of a folder.

Since subtyping doesn’t take translations into account, this has to be done manually.

We will eventually release a product called slc.linguatools, that would among other things allow you to subtype multiple translations simultaneously.

Dependencies:

  • p4a.common

  • p4a.z2utils

  • p4a.subtyper

  • archetypes.schemaextender

  • Products.AdvancedQuery

Changelog

1.2 - (2009-11-17)

  • Render the body text instead of the description if the aggregated object is a HelpCenterFAQFolder (jcbrand)

  • Fixed a bug while parsing the form request in browser/aggregator.py (jcbrand)

1.2 - (2009-11-17)

  • Register a new descriptor for PloneHelpCenterFAQFolder (jcbrand)

  • Autoinclude zcml via z3c.autoinclude.plugin (jcbrand)

1.1 - (2009-10-21)

  • Add a new form field ‘restrict_language’ to make language specific aggregation of items optional. (jcbrand)

  • Add a helpful message when the aggregator returns no results. (jcbrand)

1.0 - (2009-10-08)

  • Bumped version to correspond to metadata.xml (jcbrand)

  • Fixed a bug in query_results when no annotations has been set. (jcbrand)

0.1 - (2009-10-08)

  • Initial release

Release files for slc.aggregation 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slc.aggregation 1.3
File Size Uploaded
slc.aggregation-1.3.zip 26.3 kB Details

Release files / slc.aggregation-1.3.zip

Download URL slc.aggregation-1.3.zip
Size 26.3 kB
Tags Source
SHA-256 checksum
How to use checksums
537d4c40253a2793c0dca3a3e878bdf4006ae13c0c6798fd74e2b23f0a4d9c7f
BLAKE2b-256 checksum
How to use checksums
926d169d4287da939b077786141ab9549d0475d43a2aeb50660a05595da00879
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.3 This release

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page