Silva Code Sources
On this page you can download Code Sources (.zexp
format) from members of the Silva community. The packages are listed by latest release.
What is a Code Source?
Code Sources are powerful tools, providing just about any functionality that’s possible with Zope, but not burdening an Author by requiring technical knowledge or syntax sensitive markup. The Code Sources can be imported into the ZMI and become available via the Silva External Sources framework.
Silva documents permit all ‘the usual’ elements such as various headings, lists types, insertion of images and alignment, styling of text, etc. Sometimes other functionality is needed, such as the insertion of a live list of news items, or embedding a Quicktime movie. For these situations a Code Source can be inserted, which provides the author with a settings form. For instance for a Flash object the parameters that can be configured are: width, height, play, loop, quality, and other optional settings. Another example is retrieval of live data from an external database.
A Manager needs to create a Code Source, but once it’s prepared it can be used in multiple documents. The interface in the editor is author-friendly, completely separated from the code behind it.
More info
There is a How-To for Code Sources included in the Silva Documentation. The same docs can be installed locally in your Silva instance via the Extensions Service.
If you have questions or problems with one of the Code Sources, either send an email to the author, or better yet, send it to the Silva mailing list and there will be someone willing to answer your questions.
Supported versions
Silva 1.5 and up
YouTube CS
Embeds a YouTube movie in a page. Includes parameters for reference, width, and height.
Author: Wim Boucquaert
Contact: info at infrae com
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| YouTube CS 0.1 | 18 apr 2008 15:00 |
cs_youtube.zexp |
Supported versions
Silva 1.5 and up
Google Maps CS
Embeds a Google Maps iframe in a page. Includes a parameter for the iframe code.
Author: Wim Boucquaert
Contact: info at infrae com
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| Google Maps CS 0.1 | 18 apr 2008 15:02 |
cs_google_maps.zexp |
Supported versions
Silva 1.5 and up
Google Calendar CS
Embeds a Google Calendar in a page. Includes parameters for background color, height, title, width, Google Calendar Account, and Google Calendar Type.
Author: Wim Boucquaert
Contact: info at infrae com
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| Google Calendar CS 0.1 | 18 apr 2008 15:01 |
cs_google_calendar.zexp |
Supported versions
Silva 1.2 and up
Silva MultiTOC Code Source
Allows Authors to place a listing of the contents of a container that’s located elsewhere in the site. Multiple containers can be listed, one after the other. Authors can choose which Silva content types to list, such as documents, folders, or files.
The listing can be inserted within the document flow like a normal Table of Contents, or encapsulated as a portlet for sidebar content. The rendering matches Silva typographical selectors, and layout is fully controlled by css.
The MultiTOC can also be set to display documents being edited for an accurate preview of unpublished site sections.
Author: Infrae
Contact: info at infrae com
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| MultiTOC CS 0.5 | 19 apr 2008 10:19 |
cs_multitoc.zexp |
| MultiTOC CS 0.4 | 23 mar 2007 19:57 |
multi_toc-0.4.zexp |
| MultiTOC CS 0.3 | 07 mar 2007 06:56 |
multi_toc-0.3.zexp |
| MultiTOC CS 0.2 | 20 feb 2007 17:45 |
multi_toc-0.2.zexp |
| MultiTOC CS 0.1 | 18 feb 2007 09:34 |
multi_toc-0.1.zexp |
Supported versions
Silva 1.5.8 and up
Silva Random Content Source
This product provides a Random Content Code Source. The Code Source chooses a random item from a specified container and displays it. “Randomness” options are “on page load” and “on page load and every X seconds”. The allowed content types are Silva Documents and Silva Images.
Prerequisites
Prototype JS library (http://www.prototypejs.org)
Author: Andrew C. Altepeter
Contact: aaltepet at altepeter net
Download: http://www.zope.org/Members/aaltepet/SilvaRandomContentSource
License: GPL
Supported versions
Silva 1.2 and up
Flash CS
Embeds a Flash movie in a page. Includes parameters for reference, width, height, play, loop, and arbitrary parameters.
- Version 0.1 is compatible with Silva 1.2 and up.
- Version 0.2 is for use with Silva 1.5.8 or greater. Improvements include a lookup window launcher for linking the image and rollover tooltips in the parameters form.
Author: Samuel Schluep
Contact: schluep at ethz ch
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| Flash CS 0.3 | 14 apr 2007 07:17 |
flash-0.3.zexp |
| Flash CS 0.2 | 18 dec 2006 06:13 |
flash158.zexp |
| Flash CS 0.1 | 09 dec 2006 11:19 |
flash.zexp |
Supported versions
Silva 1.4 and up
Java Applet CS
Embeds a Java applet using the HTML applet tag. Includes parameters for startup class, reference, codebase, width, height, and arbitrary parameters.
- Version 0.1 is compatible with Silva 1.4 and up.
- Version 0.2 is for use with Silva 1.5.8 or greater. Improvements include a lookup window launcher for linking the image and rollover tooltips in the parameters form.
Author: Samuel Schluep
Contact: schluep at ethz ch
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| Java Applet CS 0.3 | 14 apr 2007 07:17 |
java_applet-0.3.zexp |
| Java Applet CS 0.2 | 18 dec 2006 06:11 |
java_applet158.zexp |
| Java Applet CS 0.1 | 09 dec 2006 11:13 |
java_applet.zexp |
Supported versions
Silva 1.4 and up
Java Plugin CS
Embeds a Java applet using the Java plug-in mechanism. Includes parameters for startup class, reference, codebase, width, height, and arbitrary parameters.
- Version 0.1 is compatible with Silva 1.4 and up.
- Version 0.2 is for use with Silva 1.5.8 or greater. Improvements include a lookup window launcher for linking the image and rollover tooltips in the parameters form.
Author: Samuel Schluep
Contact: schluep at ethz ch
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| Java Plugin CS 0.3 | 14 apr 2007 07:17 |
java_plugin-0.3.zexp |
| Java Plugin CS 0.2 | 18 dec 2006 06:12 |
java_plugin158.zexp |
| Java Plugin CS 0.1 | 09 dec 2006 11:16 |
java_plugin.zexp |
Supported versions
Silva 1.2 and up
MS Video CS
Embedder for Windows Media Player movies. Includes parameters for reference, autoplay, controller, width, and height.
- Version 0.1 is compatible with Silva 1.2 and up.
- Version 0.2 is for use with Silva 1.5.8 or greater. Improvements include a lookup window launcher for linking the image and rollover tooltips in the parameters form.
Author: Samuel Schluep
Contact: schluep at ethz ch
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| MS Video CS 0.3 | 14 apr 2007 07:17 |
ms_video-0.3.zexp |
| MS Video CS 0.2 | 18 dec 2006 06:31 |
ms_video158.zexp |
| MS Video CS 0.1 | 18 dec 2006 06:30 |
ms_video.zexp |
Supported versions
Silva 1.2 and up
Quicktime CS
Embedder for a Quicktime movie with configuration. Includes parameters for reference, autoplay, controller, width, height, and arbitrary parameters.
- Version 0.1 is compatible with Silva 1.2 and up.
- Version 0.2 is for use with Silva 1.5.8 or greater. Improvements include a lookup window launcher for linking the image and rollover tooltips in the parameters form.
Author: Samuel Schluep
Contact: schluep at ethz ch
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| Quicktime CS 0.3 | 14 apr 2007 07:17 |
quicktime-0.3.zexp |
| Quicktime CS 0.2 | 18 dec 2006 06:04 |
quicktime158.zexp |
| Quicktime CS 0.1 | 09 dec 2006 11:03 |
quicktime.zexp |
Supported versions
Silva 1.2 and up
Network Image CS
This Code Source provides a means to insert an image outside of Silva into a document. A ‘normal’ Silva Image only refers to images within Silva, and sometimes it’s necessary to refer to an image on the Internet or internal network.
The Code Source includes parameters for image location, alignment, width, height, alt, link, and link tooltip.
- Version 0.1 is compatible with Silva 1.2 and up.
- Version 0.2 and 0.3 are for use with Silva 1.5.8 or greater. Improvements include a lookup window launcher for linking the image.
Author: Kit BLAKE
Contact: info at infrae com
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| Network Image CS 0.3 | 07 apr 2007 19:38 |
network_image-0.3.zexp |
| Network Image CS 0.2 | 09 dec 2006 08:31 |
network_image158.zexp |
| Network Image CS 0.1 | 09 dec 2006 08:17 |
network_image.zexp |
Supported versions
Silva 1.2 and up
Flash Source CS
This Code Source allows Flash (swf or flv) files to be embedded in a page and configured.
Author: University of Bedfordshire
Contact: info at infrae com
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| Flash Source CS 0.3 | 22 mar 2007 19:49 |
flash_source-0.3.zexp |
| Flash Source CS 0.2 | 16 mar 2007 09:25 |
flash_source-0.2.zexp |
| Flash Source CS 0.1 | 09 dec 2006 10:35 |
flash_source.zexp |
Supported versions
Silva 1.2 and up
Related Info CS
This Code Source is designed to allow Authors to locate a capsule of related information within the document flow, or format it as a portlet for sidebar display. The layout is fully controlled by css. Authors can choose the alignment, css class, style, and fill in a title, body, and link.
Managers should note that, unlike the Silva Portlet Code Source, this one allows Authors to store arbitrary HTML in the document.
Author: Kit BLAKE
Contact: info at infrae com
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| Related Info CS 0.2 | 25 dec 2006 20:36 |
related_info-0.2.zexp |
| Related Info CS 0.1 | 24 dec 2006 13:56 |
related_info.zexp |
Supported versions
Silva 1.4 and up
See some cool Silva tools from the Department of Materials at ETH Zurich.
Insert Formulator Form CS
Insert a Formulator Form into Silva Documents, send entered data to
specified email address(es), and store the data in a database.
Author: Marc Petitmermet
Contact: petitmermet at mine ch
Download: http://mine.ch/silva/insert_form.zexp
License: New BSD
Supported versions
Silva 1.5.8 and up
See some cool Silva tools from the Department of Materials at ETH Zurich.
Silva Portlet CS
Embed Silva documents within other Silva documents; the
layout of the embedded document can optionally be different.
Author: Marc Petitmermet
Contact: petitmermet at mine ch
Download: http://mine.ch/silva/SilvaPortlet.zexp
License: New BSD
Supported versions
Silva 1.4 and up
See some cool Silva tools from the Department of Materials at ETH Zurich.
Configurable Table of Contents CS
This is a fully configurable table of contents.
With this object you can display a TOC starting from any subfolder
with any depth and even apply a custom css style.
Author: Marc Petitmermet
Contact: petitmermet at mine ch
Download: http://zope.org/Members/mpetit/ctoc
License: New BSD
Supported versions
Silva 1.2 and up
Encaptionate CS
This CodeSource provides a variety of parameters for
adding captions to images. Options include a capsule title, links, alt text,
caption and/or credit. Settings such as alignment, style, and rollover
tooltips are available.
- Version 0.1 is compatible with Silva 1.2 and up.
- Version 0.2 is for use with Silva 1.5.8 or greater. Improvements include a lookup window launcher for locating the image and rollover tooltips in the parameters form.
Author: Kit BLAKE
Contact: info at infrae com
License: New BSD
| Release version | Release date | Release files |
|---|---|---|
| Encaptionate CS 0.2 | 09 dec 2006 08:43 |
encaptionate158.zexp |
| Encaptionate CS 0.1 | 09 dec 2006 08:42 |
encaptionate.zexp |