Skip to main content

Extends plone content with ability to render external content in viewlet.

Project description

About

Extends plone content with ability to render external content in viewlet.

Installing

This package requires Plone 3.x or later (tested on 3.3.x).

Installing without buildout

Install this package in either your system path packages or in the lib/python directory of your Zope instance. You can do this using either easy_install or via the setup.py script.

Installing with buildout

If you are using buildout to manage your instance installing collective.externalsnippet is even simpler. You can install collective.externalsnippet by adding it to the eggs line for your instance:

[instance]
eggs = collective.externalsnippet

After updating the configuration you need to run the ‘’bin/buildout’’, which will take care of updating your system.

Usage

Install “External Snippet” via Quick Installer, go to your content which you can publish external content on and assign it marker interface “collective.externalsnippet.interfaces.IExternalSnippetMarker”. You can mark the content via ZMI on content’s “Interfaces” tab or you can use “collective.interfaces” to do it in the Plone UI.

This adds to your content some extra fields which you can find in it’s edit form on “Settings” tab where you can specify URL address of external page you would like to fetch and render below your content’s body.

You can also enter regular expression which will select particular content of fetched page (see default value for an example).

It is also possible to fetch external pages guarded by basic authentication by entering required username and password.

Changelog

0.2 (2011-09-27)

  • added basic authentication with cookies support option [lzdych]

0.1 (2010-05-31)

  • 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

collective.externalsnippet-0.2.zip (25.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page