Re: about nuggets
Georg Bauer <gb-BRhJDZTO+/[email protected]> Thu, 29 Jan 2004 21:56:23 +0100
| Newsgroups | gmane.comp.pythin.pyds.devel |
|---|---|
| Message-ID | <r02010000-1028-9954AF14529D11D880EB000A9573A72A@[10.0.0.145]> |
Hi! > In the NuggetTool, there are two toggles: Publish and Active. I think I > know that Publish=yes means to use the Nugget during rendering. What > does Active do? Active nuggets are nuggets that are stored as external javascript files that use the Document.write methods to put their content into the main page. The reason for this is to allow partial update of your pages. For example you can create an active nugget that lists stuff from google and set up a timer to refresh only this active nugget every hour. This way your nugget output will be upstreamed and user will see current content, because when you use that nugget in your templates, it will just insert a reference to that external javascript source. With standard nuggets you can't recreate only the nugget, as the result of the nugget is directly inserted into the rendered HTML of the pages themselves. I use one for the google box on <http://pyds.muensterland.org/> :-) bye, Georg