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 details)

Uploaded Source

File details

Details for the file collective.externalsnippet-0.2.zip.

File metadata

File hashes

Hashes for collective.externalsnippet-0.2.zip
Algorithm Hash digest
SHA256 5c7e282438c9c4f93f8afbb5b2c5980eb8ec8477792771c0783099c1ee77b0fa
MD5 12e3b05265ad47eb7546504a44c32f72
BLAKE2b-256 d7e2037d010a86c88d645a102f45de0f120ab76bcc998d4812f37f07bbe421f3

See more details on using hashes here.

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