Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Embed Plone's Topic results as Web Widget

Project Description
rt.topicembed introduction

This product add's new tab to the topic content type called `embed`, and
publish topic's items similar to **twitter** widget.


This is practically a simple form that allows user to configure a web widget.
The code can be found in the `textarea` in the same view. An example code
looks like that:

(function() {
var s = document.createElement('script');
s.src = 'http://nohost/plone/events/embed.js';
s.async = true;
window.topic_options = (window.topic_options || []).concat([ {
element_id: 'embeded_id',
elements_length: 5, //how many elements to show
embed_css: true, //embed rt.topicembed css styles
new_window: true //open links in new window

This code can be later embeded on the external site, the same as **twitter** widget.


The template for rendering the output is registered by this ZCML slug:

and it's called ``. It generates an HTML output similar to:

<a href="http://nohost/plone/events/event1">Event 1 title</a>
<div>Short event description</div>
<img src="http://nohost/plone/events/event1/image_mini" title="Event 1 image">
<a href="http://nohost/plone/events/event2">Event 2 title</a>
<div>Other event description</div>
<img src="http://nohost/plone/events/event2/image_mini" title="Event 2 image">


1.3 (2013-12-20)

- Add it translations [lucabel].

1.2 (2013-03-18)

- add image size selection [amleczko]
- add example CSS [massimo]
- add translations [amleczko]

1.1.1 (2013-03-05)

- Fix JSON [amleczko]

1.0 (2013-03-05)

- Initial release
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (17.6 kB) Copy SHA256 Checksum SHA256 Source Dec 20, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting