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.
Embed
-----
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:
```html
<script>
(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
}]);
document.body.appendChild(s);
}());
</script>
```
This code can be later embeded on the external site, the same as **twitter** widget.
Changelog
=========
1.0 (2013-03-05)
----------------
- Initial release
==========================
This product add's new tab to the topic content type called `embed`, and
publish topic's items similar to **twitter** widget.
Embed
-----
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:
```html
<script>
(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
}]);
document.body.appendChild(s);
}());
</script>
```
This code can be later embeded on the external site, the same as **twitter** widget.
Changelog
=========
1.0 (2013-03-05)
----------------
- Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rt.topicembed-1.0.tar.gz
(7.3 kB
view details)
File details
Details for the file rt.topicembed-1.0.tar.gz
.
File metadata
- Download URL: rt.topicembed-1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e298630347b5e4d330098895c395a040078ef0067f60536fe2caa707bba39e0d |
|
MD5 | 51c4ebde6f64806b836bce31eea6836c |
|
BLAKE2b-256 | 3a75b83dafaf29f501e9c805737cc9716768a181a669f8ec93660475bddbc468 |