This release is a pre-release and may not be stable for production use.
Collective.embed provides a way to install a zip or single html file of content into a plone site.
Features
Content is displayed inside an iframe in a content view or in a mosaic tile.
Content is not filtered like pasted html in the visual editor. This allows for - subsites authored by other tools such newsletter software. Linked html works but need to be relative. - social media JS embed codes
Notes
Note this does increase the likelyhood of harmful JS code existing on your site so be aware of who is allowed access to add embeded content.
It doesn’t currently have a way to just display part of the html content. You will need to ensure it is designed just display “content” and doesn’t have its own headers and footers.
Since its an iframe any content must use its own css. This can also lead to content that doesn’t fit the site theme.
Examples
This add-on can be seen in action at the following sites: - https://www.mhcs.health.nsw.gov.au (frontpage twitter and facebook tiles and under Media > Newsletters)
Installation
Install collective.embedcontent by adding it to your buildout:
[buildout]
...
eggs =
collective.embedcontent
and then running bin/buildout
Once installed and activated on your site there is an EmbedContent content type you can add anywhere in your site.
Contribute
Issue Tracker: https://github.com/collective/collective.embedcontent/issues
Source Code: https://github.com/collective/collective.embedcontent
License
The project is licensed under the GPLv2.
Contributors
quang.nguyen, quang@pretagov.com
Changelog
1.0a1 (unreleased)
Initial release. [nngu6036]
Metadata
Release files for collective.embedcontent 1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| collective.embedcontent-1.0a1.tar.gz | 1.0 MB | Without provenance | Details for collective.embedcontent-1.0a1.tar.gz |
Release files / collective.embedcontent-1.0a1.tar.gz
| Download URL | collective.embedcontent-1.0a1.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0902d89525e0be5f32304c0367ee4ffd7c640eb8bd5d92d562b641404cff0d5
|
|
BLAKE2b-256 checksum How to use checksums |
2625ace5e42ce19cca7a922363982730a8f003bb606f71ea546ccc7dd49327d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/2.7.17
|
Security for collective.embedcontent 1.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.