collective.embeddedpage


Namecollective.embeddedpage JSON
Version 4.0.0 PyPI version JSON
download
home_pagehttps://pypi.python.org/pypi/collective.embeddedpage
SummaryAdd-on to embed remote HTML pages into the Plone CMS
upload_time2024-06-03 20:31:06
maintainerNone
docs_urlNone
authorkitconcept GmbH
requires_python>=3.7
licenseGPL version 2
keywords python plone
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.
   If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html
   This text does not appear on pypi or github. It is a comment.

==============================================================================
collective.embeddedpage
==============================================================================

.. image:: https://github.com/collective/collective.embeddedpage/actions/workflows/ci.yml/badge.svg
    :target: https://github.com/collective/collective.embeddedpage/actions/workflows/ci.yml

.. image:: https://img.shields.io/pypi/status/collective.embeddedpage.svg
    :target: https://pypi.python.org/pypi/collective.embeddedpage/
    :alt: Egg Status

.. image:: https://img.shields.io/pypi/v/collective.embeddedpage.svg
    :target: https://pypi.python.org/pypi/collective.embeddedpage
    :alt: Latest Version

.. image:: https://img.shields.io/pypi/l/collective.embeddedpage.svg
    :target: https://pypi.python.org/pypi/collective.embeddedpage
    :alt: License

|

.. image:: https://raw.githubusercontent.com/collective/collective.embeddedpage/main/kitconcept.png
   :alt: kitconcept
   :target: https://kitconcept.com/

collective.embeddedpage allows to embed remote HTML pages in Plone.

Features
--------

- Adds EmbeddedPage content types (Dexterity based)
- Displays remote HTML within the view of the EmbeddedPage content object


Examples
--------

This add-on can be seen in action at the following sites:

- `Humboldt-Universität zu Berlin`_.


Translations
------------

This product has been translated into

- German


Installation
------------

Add collective.embeddedpage in your Plone installation with ``pip install collective.embeddedpage``


Configuration
-------------

This addon provides the entry ``collective.embeddedpage.timeout`` (Default value: 10 seconds) via 
the configuration registry in Plone. Requests to embedded pages that take longer than the entered value will be 
aborted and a generic error message is shown instead.


Local Development
-----------------

Clone this repository::

    git clone git@github.com:collective/collective.embeddedpage.git


Install Plone and this package::

    cd collective.embeddedpage
    make build-plone-6

Run tests::

    make test


Contribute
----------

- Issue Tracker: https://github.com/collective/collective.embeddedpage/issues
- Source Code: https://github.com/collective/collective.embeddedpage


Support
-------

If you are having issues,
`please let us know <https://github.com/collective/collective.embeddedpage/issues>`_.

If you require professional support, feel free to drop us a note at info@kitconcept.com.


Credits
-------

.. image:: https://www.hu-berlin.de/++resource++humboldt.logo.Logo.png
   :width: 200px
   :alt: HU Berlin
   :target: https://www.hu-berlin.de

|

.. image:: https://github.com/collective/collective.embeddedpage/raw/main/fzj-logo.jpeg
   :width: 200px
   :alt: Forschungszentrum Jülich
   :target: https://www.fz-juelich.de

|

The development of this plugin has been kindly sponsored by `Humboldt-Universität zu Berlin`_ and `Forschungszentrum Jülich`_.

|

.. image:: https://raw.githubusercontent.com/collective/collective.embeddedpage/main/kitconcept.png
   :width: 200px
   :alt: kitconcept
   :target: https://kitconcept.com/

Developed by `kitconcept`_.


License
-------

The project is licensed under the GPLv2.

.. _Humboldt-Universität zu Berlin: https://www.hu-berlin.de
.. _Forschungszentrum Jülich: https://www.fz-juelich.de
.. _kitconcept: http://www.kitconcept.com/


Contributors
============

- Timo Stollenwerk, stollenwerk@kitconcept.com
- Rodrigo de Souza, souza@kitconcept.com
- Érico Andrei, andrei@kitconcept.com


Changelog
=========


4.0.0 (2024-06-03)
------------------

- Add support for Python 3.10 and 3.11
  [tisto]

- Add timeout to request
  [wolbernd]


3.0.3 (2022-04-05)
------------------

- Support pip-based installations of Plone
  [ericof]

- Support Plone 6
  [ericof]


3.0.2 (2022-03-21)
------------------

- Use encoding specified in a text/html response
  [reebalazs]


3.0.1 (2021-12-03)
------------------

- Remove title/description field from the IEmbeddedPage behavior. Fixes #42
  [timo]



3.0.0 (2021-10-08)
------------------

- Migrate to non interface name behaviors.
  [sneridagh]

- Add DublinCore behavior to EmbeddedPage content type.
  [sneridagh]

- Drop Python 2 support.
  [timo]

- Drop Plone 5.1 and 4.3 support.
  [timo]


2.2.1 (2021-04-26)
------------------

- Fix charmap error with 'Windows-1254' encoding. Use utf-8 as fallback
  [robdayz]


2.2.0 (2021-04-14)
------------------

- Add Python 3.8 support (worked before, just added it to classifiers)
  [timo]


2.1.4 (2020-09-26)
------------------

- Do not fail on invalid URLs
  [timo]

- Run black on codebase
  [timo]


2.1.3 (2020-06-27)
------------------

- Don't purge behaviors
  [csenger]


2.1.2 (2020-06-18)
------------------

- Fix getting js resources (#28).
  [csenger]


2.1.1 (2020-05-06)
------------------

- Do not fail on missing params in process_page.
  [timo]


2.1.0 (2020-05-04)
------------------

- Added i18n translation files for EN, ES, CA.
  [robdayz]

- Add serializer for Volto support.
  [rodfersou]


2.0.0 (2020-04-09)
------------------

- Plone 5.2/Python 3 compatibility.
  [timo,rodfersou]


1.3.2 (2020-02-04)
------------------

- Don't raise an exception when target page is empty.
  [rodfersou]


1.3.1 (2019-06-12)
------------------

- Change development status to Production/Stabel in setup.py.
  [timo]


1.3.0 (2019-06-12)
------------------

- Change header forwarding: Only forward http x-* headers and convert
  zopes header names (e.g. HTTP_X_FORWARD_FOR to x-forward-for)
  [csenger]


1.2.2 (2019-05-28)
------------------

- Dont double decode XML HTML pages.
  [rofersou]

- Pass headers forward from original request.
  [rodfersou]

- Make URL field not required.
  [rodfersou]


1.2.1 (2019-05-10)
------------------

- Fix German translation "Show After" and "Show Before".
  [timo]


1.2.0 (2019-05-10)
------------------

- Use chardet package to detect the encoding of the embedded page.
  [rodfersou]


1.1.0 (2019-04-18)
------------------

- Move stylesheets from head to body.
  [rodfersou]

- Add tests.
  [rodfersou]

- Add data-embedded attribute to inspect what page
  is being embedded with no need to login.
  [rodfersou]


1.0.2 (2019-03-30)
------------------

- Fix the content type when request script.
  [rodfersou]

- Fix iframe relative path to full path.
  [rodfersou]


1.0.1 (2019-03-28)
------------------

- Forward script requests from plone server.
  [rodfersou]

- Forward requests and params to original page.
  [rodfersou]

- Convert html parsed data to string with html method.
  [rodfersou]


1.0.0 (2019-02-23)
------------------

- Re-release 1.0.0a6 as final release.
  [timo]


1.0.0a6 (2019-02-13)
--------------------

- Add extra standard behaviors.
  [rodfersou]


1.0.0a5 (2019-02-12)
--------------------

- Fix when html is encoded as UTF-8.
  [rodfersou]


1.0.0a4 (2019-02-11)
--------------------

- Fix when there is no body tag inside html.
  [rodfersou]


1.0.0a3 (2019-01-22)
--------------------

- Add Rich Text to add content before the page embedded.
  [rodfersou]

- Add Rich Text to add content after the page embedded.
  [rodfersou]

- Add One parameter to disable right portlet column.
  [rodfersou]


1.0.0a2 (2019-01-14)
--------------------

- Do not show title and description of the content page itself.
  [timo]

- Add pypi classifier for development status.
  [timo]


1.0.0a1 (2018-11-01)
--------------------

- Initial release.
  [kitconcept]

            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.python.org/pypi/collective.embeddedpage",
    "name": "collective.embeddedpage",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "Python Plone",
    "author": "kitconcept GmbH",
    "author_email": "info@kitconcept.com",
    "download_url": "https://files.pythonhosted.org/packages/ec/e9/57e14700b4daccc753fc360447e715cdc984518b4d97c6e427e1171e15f3/collective.embeddedpage-4.0.0.tar.gz",
    "platform": null,
    "description": ".. This README is meant for consumption by humans and pypi. Pypi can render rst files so please do not use Sphinx features.\n   If you want to learn more about writing documentation, please check out: http://docs.plone.org/about/documentation_styleguide.html\n   This text does not appear on pypi or github. It is a comment.\n\n==============================================================================\ncollective.embeddedpage\n==============================================================================\n\n.. image:: https://github.com/collective/collective.embeddedpage/actions/workflows/ci.yml/badge.svg\n    :target: https://github.com/collective/collective.embeddedpage/actions/workflows/ci.yml\n\n.. image:: https://img.shields.io/pypi/status/collective.embeddedpage.svg\n    :target: https://pypi.python.org/pypi/collective.embeddedpage/\n    :alt: Egg Status\n\n.. image:: https://img.shields.io/pypi/v/collective.embeddedpage.svg\n    :target: https://pypi.python.org/pypi/collective.embeddedpage\n    :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/l/collective.embeddedpage.svg\n    :target: https://pypi.python.org/pypi/collective.embeddedpage\n    :alt: License\n\n|\n\n.. image:: https://raw.githubusercontent.com/collective/collective.embeddedpage/main/kitconcept.png\n   :alt: kitconcept\n   :target: https://kitconcept.com/\n\ncollective.embeddedpage allows to embed remote HTML pages in Plone.\n\nFeatures\n--------\n\n- Adds EmbeddedPage content types (Dexterity based)\n- Displays remote HTML within the view of the EmbeddedPage content object\n\n\nExamples\n--------\n\nThis add-on can be seen in action at the following sites:\n\n- `Humboldt-Universit\u00e4t zu Berlin`_.\n\n\nTranslations\n------------\n\nThis product has been translated into\n\n- German\n\n\nInstallation\n------------\n\nAdd collective.embeddedpage in your Plone installation with ``pip install collective.embeddedpage``\n\n\nConfiguration\n-------------\n\nThis addon provides the entry ``collective.embeddedpage.timeout`` (Default value: 10 seconds) via \nthe configuration registry in Plone. Requests to embedded pages that take longer than the entered value will be \naborted and a generic error message is shown instead.\n\n\nLocal Development\n-----------------\n\nClone this repository::\n\n    git clone git@github.com:collective/collective.embeddedpage.git\n\n\nInstall Plone and this package::\n\n    cd collective.embeddedpage\n    make build-plone-6\n\nRun tests::\n\n    make test\n\n\nContribute\n----------\n\n- Issue Tracker: https://github.com/collective/collective.embeddedpage/issues\n- Source Code: https://github.com/collective/collective.embeddedpage\n\n\nSupport\n-------\n\nIf you are having issues,\n`please let us know <https://github.com/collective/collective.embeddedpage/issues>`_.\n\nIf you require professional support, feel free to drop us a note at info@kitconcept.com.\n\n\nCredits\n-------\n\n.. image:: https://www.hu-berlin.de/++resource++humboldt.logo.Logo.png\n   :width: 200px\n   :alt: HU Berlin\n   :target: https://www.hu-berlin.de\n\n|\n\n.. image:: https://github.com/collective/collective.embeddedpage/raw/main/fzj-logo.jpeg\n   :width: 200px\n   :alt: Forschungszentrum J\u00fclich\n   :target: https://www.fz-juelich.de\n\n|\n\nThe development of this plugin has been kindly sponsored by `Humboldt-Universit\u00e4t zu Berlin`_ and `Forschungszentrum J\u00fclich`_.\n\n|\n\n.. image:: https://raw.githubusercontent.com/collective/collective.embeddedpage/main/kitconcept.png\n   :width: 200px\n   :alt: kitconcept\n   :target: https://kitconcept.com/\n\nDeveloped by `kitconcept`_.\n\n\nLicense\n-------\n\nThe project is licensed under the GPLv2.\n\n.. _Humboldt-Universit\u00e4t zu Berlin: https://www.hu-berlin.de\n.. _Forschungszentrum J\u00fclich: https://www.fz-juelich.de\n.. _kitconcept: http://www.kitconcept.com/\n\n\nContributors\n============\n\n- Timo Stollenwerk, stollenwerk@kitconcept.com\n- Rodrigo de Souza, souza@kitconcept.com\n- \u00c9rico Andrei, andrei@kitconcept.com\n\n\nChangelog\n=========\n\n\n4.0.0 (2024-06-03)\n------------------\n\n- Add support for Python 3.10 and 3.11\n  [tisto]\n\n- Add timeout to request\n  [wolbernd]\n\n\n3.0.3 (2022-04-05)\n------------------\n\n- Support pip-based installations of Plone\n  [ericof]\n\n- Support Plone 6\n  [ericof]\n\n\n3.0.2 (2022-03-21)\n------------------\n\n- Use encoding specified in a text/html response\n  [reebalazs]\n\n\n3.0.1 (2021-12-03)\n------------------\n\n- Remove title/description field from the IEmbeddedPage behavior. Fixes #42\n  [timo]\n\n\n\n3.0.0 (2021-10-08)\n------------------\n\n- Migrate to non interface name behaviors.\n  [sneridagh]\n\n- Add DublinCore behavior to EmbeddedPage content type.\n  [sneridagh]\n\n- Drop Python 2 support.\n  [timo]\n\n- Drop Plone 5.1 and 4.3 support.\n  [timo]\n\n\n2.2.1 (2021-04-26)\n------------------\n\n- Fix charmap error with 'Windows-1254' encoding. Use utf-8 as fallback\n  [robdayz]\n\n\n2.2.0 (2021-04-14)\n------------------\n\n- Add Python 3.8 support (worked before, just added it to classifiers)\n  [timo]\n\n\n2.1.4 (2020-09-26)\n------------------\n\n- Do not fail on invalid URLs\n  [timo]\n\n- Run black on codebase\n  [timo]\n\n\n2.1.3 (2020-06-27)\n------------------\n\n- Don't purge behaviors\n  [csenger]\n\n\n2.1.2 (2020-06-18)\n------------------\n\n- Fix getting js resources (#28).\n  [csenger]\n\n\n2.1.1 (2020-05-06)\n------------------\n\n- Do not fail on missing params in process_page.\n  [timo]\n\n\n2.1.0 (2020-05-04)\n------------------\n\n- Added i18n translation files for EN, ES, CA.\n  [robdayz]\n\n- Add serializer for Volto support.\n  [rodfersou]\n\n\n2.0.0 (2020-04-09)\n------------------\n\n- Plone 5.2/Python 3 compatibility.\n  [timo,rodfersou]\n\n\n1.3.2 (2020-02-04)\n------------------\n\n- Don't raise an exception when target page is empty.\n  [rodfersou]\n\n\n1.3.1 (2019-06-12)\n------------------\n\n- Change development status to Production/Stabel in setup.py.\n  [timo]\n\n\n1.3.0 (2019-06-12)\n------------------\n\n- Change header forwarding: Only forward http x-* headers and convert\n  zopes header names (e.g. HTTP_X_FORWARD_FOR to x-forward-for)\n  [csenger]\n\n\n1.2.2 (2019-05-28)\n------------------\n\n- Dont double decode XML HTML pages.\n  [rofersou]\n\n- Pass headers forward from original request.\n  [rodfersou]\n\n- Make URL field not required.\n  [rodfersou]\n\n\n1.2.1 (2019-05-10)\n------------------\n\n- Fix German translation \"Show After\" and \"Show Before\".\n  [timo]\n\n\n1.2.0 (2019-05-10)\n------------------\n\n- Use chardet package to detect the encoding of the embedded page.\n  [rodfersou]\n\n\n1.1.0 (2019-04-18)\n------------------\n\n- Move stylesheets from head to body.\n  [rodfersou]\n\n- Add tests.\n  [rodfersou]\n\n- Add data-embedded attribute to inspect what page\n  is being embedded with no need to login.\n  [rodfersou]\n\n\n1.0.2 (2019-03-30)\n------------------\n\n- Fix the content type when request script.\n  [rodfersou]\n\n- Fix iframe relative path to full path.\n  [rodfersou]\n\n\n1.0.1 (2019-03-28)\n------------------\n\n- Forward script requests from plone server.\n  [rodfersou]\n\n- Forward requests and params to original page.\n  [rodfersou]\n\n- Convert html parsed data to string with html method.\n  [rodfersou]\n\n\n1.0.0 (2019-02-23)\n------------------\n\n- Re-release 1.0.0a6 as final release.\n  [timo]\n\n\n1.0.0a6 (2019-02-13)\n--------------------\n\n- Add extra standard behaviors.\n  [rodfersou]\n\n\n1.0.0a5 (2019-02-12)\n--------------------\n\n- Fix when html is encoded as UTF-8.\n  [rodfersou]\n\n\n1.0.0a4 (2019-02-11)\n--------------------\n\n- Fix when there is no body tag inside html.\n  [rodfersou]\n\n\n1.0.0a3 (2019-01-22)\n--------------------\n\n- Add Rich Text to add content before the page embedded.\n  [rodfersou]\n\n- Add Rich Text to add content after the page embedded.\n  [rodfersou]\n\n- Add One parameter to disable right portlet column.\n  [rodfersou]\n\n\n1.0.0a2 (2019-01-14)\n--------------------\n\n- Do not show title and description of the content page itself.\n  [timo]\n\n- Add pypi classifier for development status.\n  [timo]\n\n\n1.0.0a1 (2018-11-01)\n--------------------\n\n- Initial release.\n  [kitconcept]\n",
    "bugtrack_url": null,
    "license": "GPL version 2",
    "summary": "Add-on to embed remote HTML pages into the Plone CMS",
    "version": "4.0.0",
    "project_urls": {
        "Homepage": "https://pypi.python.org/pypi/collective.embeddedpage"
    },
    "split_keywords": [
        "python",
        "plone"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "54217099240b9066a0925e9e8125cc40c22cc97a0dc531fc3a273fe23e6bcbdf",
                "md5": "16d0d82b46631eb0b523db1a5fa03825",
                "sha256": "43e1a6bc5730aae373935c6c0faee5a651ff68094706629e1bddc6e20236c1b6"
            },
            "downloads": -1,
            "filename": "collective.embeddedpage-4.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "16d0d82b46631eb0b523db1a5fa03825",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 27302,
            "upload_time": "2024-06-03T20:31:03",
            "upload_time_iso_8601": "2024-06-03T20:31:03.890894Z",
            "url": "https://files.pythonhosted.org/packages/54/21/7099240b9066a0925e9e8125cc40c22cc97a0dc531fc3a273fe23e6bcbdf/collective.embeddedpage-4.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ece957e14700b4daccc753fc360447e715cdc984518b4d97c6e427e1171e15f3",
                "md5": "06d947618101aeaa88f7bf3c0d2fe3d6",
                "sha256": "73958ca691a55246672ffad4f3a93d760729967564d9888821ffdc700ba3bf40"
            },
            "downloads": -1,
            "filename": "collective.embeddedpage-4.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "06d947618101aeaa88f7bf3c0d2fe3d6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 56268,
            "upload_time": "2024-06-03T20:31:06",
            "upload_time_iso_8601": "2024-06-03T20:31:06.382204Z",
            "url": "https://files.pythonhosted.org/packages/ec/e9/57e14700b4daccc753fc360447e715cdc984518b4d97c6e427e1171e15f3/collective.embeddedpage-4.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-03 20:31:06",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "collective.embeddedpage"
}
        
Elapsed time: 0.95632s