{ "info": { "author": "Simples Consultoria", "author_email": "produtos@simplesconsultoria.com.br", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Plone", "Framework :: Plone :: 4.3", "Framework :: Plone :: 5.0", "Framework :: Plone :: 5.1", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Office/Business :: News/Diary", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": ".. image:: https://raw.githubusercontent.com/collective/collective.behavior.amp/master/docs/amp.png\n :align: left\n :alt: Accelerated Mobile Pages\n :height: 128px\n :width: 128px\n\n*********************************************\nSupport for Accelerated Mobile Pages in Plone\n*********************************************\n\n.. contents:: Table of Contents\n\nLife, the Universe, and Everything\n==================================\n\nThe `Accelerated Mobile Pages Project `_ (AMP) is an open source project and service to accelerate content on mobile devices.\n\nThis package implements a behavior for Dexterity-based content types that adds an AMP HTML version of your content.\nMost newest mobile browsers will serve this version by default.\nGoogle will also link the mobile search results to this version.\n\nMostly Harmless\n===============\n\n.. image:: http://img.shields.io/pypi/v/collective.behavior.amp.svg\n :target: https://pypi.python.org/pypi/collective.behavior.amp\n\n.. image:: https://img.shields.io/travis/collective/collective.behavior.amp/master.svg\n :target: http://travis-ci.org/collective/collective.behavior.amp\n\n.. image:: https://img.shields.io/coveralls/collective/collective.behavior.amp/master.svg\n :target: https://coveralls.io/r/collective/collective.behavior.amp\n\nGot an idea? Found a bug? Let us know by `opening a support ticket `_.\n\nDon't Panic\n===========\n\nInstallation\n------------\n\nTo enable this package in a buildout-based installation:\n\n#. Edit your buildout.cfg and add add the following to it:\n\n.. code-block:: ini\n\n [buildout]\n ...\n eggs =\n collective.behavior.amp\n\nAfter updating the configuration you need to run ''bin/buildout'', which will take care of updating your system.\n\nGo to the 'Site Setup' page in a Plone site and click on the 'Add-ons' link.\n\nCheck the box next to ``Accelerated Mobile Pages Support`` and click the 'Activate' button.\n\nUsage\n-----\n\nGo to 'Site Setup' and select 'Accelerated Mobile Pages';\nset the publisher logo and the `AMP analytics code `_, if available.\n\n.. figure:: https://raw.githubusercontent.com/collective/collective.behavior.amp/master/docs/controlpanel.png\n :align: center\n :height: 720px\n :width: 768px\n\n The Accelerated Mobile Pages control panel configlet.\n\nGo to 'Site Setup' and select 'Dexterity Content Types' and enable the 'Accelerated Mobile Pages' in your content types.\nA new view named ``@@amp`` will become available in all instances of your content type.\nThe view will display the logo of your site, a global navigation sidebar, and the main fields of your content type (including title, byline, resume, body text, and related items, if available);\nit will also include metadata as structured data.\n\nCapture of analytics data from AMP documents is supported using the ``amp-analytics`` tag.\nRefer to the examples in `Adding Analytics to your AMP pages `_ for more information on how to use this feature.\n\nIf `sc.social.like `_ is installed,\na list of social share buttons honoring the configured plugins will be displayed between the byline and the resume.\nNote that you have to enter a valid Facebook ``app_id`` if you want to enable the Facebook button.\n\nHow does it work\n----------------\n\nAMP is a way to build web pages for static content that render fast.\nAMP consists of three different parts:\n\nAMP HTML\n AMP HTML is HTML with some restrictions for reliable performance and some extensions for building rich content beyond basic HTML.\nAMP JS\n The AMP JS library ensures the fast rendering of AMP HTML pages.\nGoogle AMP Cache\n The Google AMP Cache can be used to serve cached AMP HTML pages.\n\nThis package adds an alternate view to display your content as AMP HTML page,\nand adds a link to it in the header of any other view:\n\n.. code-block:: xml\n\n \n\nThe body text is processed to remove invalid elements or to replace them by the corresponding AMP components.\n\nShare and Enjoy\n===============\n\nThis package would not have been possible without the contribution of the following people:\n\n- H\u00e9ctor Velarde\n- Font Awesome (`icons `_)\n\nYou can find an updated list of package contributors on `GitHub `_.\n\nChangelog\n=========\n\nThere's a frood who really knows where his towel is.\n\n1.0a3 (2017-04-13)\n------------------\n\n- Fix i18n and update Brazilian Portuguese and Spanish translations (fixes `#44`_).\n [hvelarde]\n\n- Set correct language information (fixes `#43`_).\n [hvelarde]\n\n- Add support for the ``amp-sticky-ad`` tag.\n [hvelarde]\n\n- Fix support for the ```` tag.\n [agnogueira, hvelarde]\n\n- Fix CSS error in logo position.\n [kakshay21]\n\n- Avoid exception when related items relation is broken.\n [rodfersou]\n\n- Fix loading order for main AMP script.\n [hvelarde]\n\n- Add class for social icon
tag.\n [agnogueira]\n\n- Move description to article header.\n [agnogueira]\n\n- Do not fail if an image doesn't have a ``src`` attribute,\n or if it was referenced inside the body text as an external resource.\n [hvelarde]\n\n- Clean up invalid AMP HTML attributes (fixes `#26`_).\n [rodfersou]\n\n- Explicitly disable any Diazo theme on the AMP HTML view.\n [hvelarde]\n\n- Use ``byline`` field (if present) to get the name of the content's author.\n [hvelarde]\n\n- Fix various exceptions raised when content has Archetypes based lead images.\n [hvelarde]\n\n1.0a2 (2016-10-06)\n------------------\n\n- Fix exception on the AMP HTML view when content has no lead image.\n [hvelarde]\n\n\n1.0a1 (2016-10-06)\n------------------\n\n- Initial release.\n\n.. _`#26`: https://github.com/collective/collective.behavior.amp/issues/26\n.. _`#43`: https://github.com/collective/collective.behavior.amp/issues/43\n.. _`#44`: https://github.com/collective/collective.behavior.amp/issues/44", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/collective/collective.behavior.amp", "keywords": "plone amp mobile dexterity behavior", "license": "", "maintainer": "", "maintainer_email": "", "name": "collective.behavior.amp", "package_url": "https://pypi.org/project/collective.behavior.amp/", "platform": "", "project_url": "https://pypi.org/project/collective.behavior.amp/", "project_urls": { "Homepage": "https://github.com/collective/collective.behavior.amp" }, "release_url": "https://pypi.org/project/collective.behavior.amp/1.0a3/", "requires_dist": null, "requires_python": "", "summary": "Support for Accelerated Mobile Pages (AMP) on Dexterity-based content types.", "version": "1.0a3" }, "last_serial": 2802579, "releases": { "1.0a1": [ { "comment_text": "", "digests": { "md5": "6196b059e265ae329a00d0f19f13e452", "sha256": "3e0406901c44714831a703bff23d6bdf4b07ba218938cefeea64448a02ee5444" }, "downloads": -1, "filename": "collective.behavior.amp-1.0a1-py2-none-any.whl", "has_sig": false, "md5_digest": "6196b059e265ae329a00d0f19f13e452", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 48461, "upload_time": "2016-10-06T20:31:48", "url": "https://files.pythonhosted.org/packages/7a/ac/ca5c05695e0610b1274c3a3e62319fd520b3e25e51efe60a9e087a18a8ca/collective.behavior.amp-1.0a1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "20312620d90533af189cfc82946cd05a", "sha256": "c528a3be2c2683f2bdd054d1710669246eb5ffc79e3a40c9d1c878b3c128a6e3" }, "downloads": -1, "filename": "collective.behavior.amp-1.0a1.tar.gz", "has_sig": false, "md5_digest": "20312620d90533af189cfc82946cd05a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 73972, "upload_time": "2016-10-06T20:31:51", "url": "https://files.pythonhosted.org/packages/f7/e8/d754fc94db2a0fbb751e4650a3b3d97567d6400555272c14f911d681bd58/collective.behavior.amp-1.0a1.tar.gz" } ], "1.0a2": [ { "comment_text": "", "digests": { "md5": "7ad6a5bf733e58ca799c2a297da029dc", "sha256": "b5f92bbf4f419a0a71587550e4414fd21accab80424f890f933a5e69b97149bd" }, "downloads": -1, "filename": "collective.behavior.amp-1.0a2-py2-none-any.whl", "has_sig": false, "md5_digest": "7ad6a5bf733e58ca799c2a297da029dc", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 48567, "upload_time": "2016-10-06T21:16:52", "url": "https://files.pythonhosted.org/packages/84/f2/578d430b466852bc11e6e414fd73c6a851554e96a480de2b32cbfcb99ef5/collective.behavior.amp-1.0a2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "37070829ebefc0bbbeb782e4a02e9bd6", "sha256": "d374efc8c2436c96cf0ddd7efdbc2648b1bd3f40f94354b1dacb26ea3d004688" }, "downloads": -1, "filename": "collective.behavior.amp-1.0a2.tar.gz", "has_sig": false, "md5_digest": "37070829ebefc0bbbeb782e4a02e9bd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 74082, "upload_time": "2016-10-06T21:16:55", "url": "https://files.pythonhosted.org/packages/9d/9e/1897a9b9dc2baa585b4aa92d635eebc42082dd10e817b769c7fc6e594280/collective.behavior.amp-1.0a2.tar.gz" } ], "1.0a3": [ { "comment_text": "", "digests": { "md5": "26377c8c4b80b4baf17425eb3e374c8d", "sha256": "4985597086b7265ff63584e64c3a59b76ff2e952cd5913275cf101979f59d8f7" }, "downloads": -1, "filename": "collective.behavior.amp-1.0a3.tar.gz", "has_sig": false, "md5_digest": "26377c8c4b80b4baf17425eb3e374c8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 79712, "upload_time": "2017-04-13T22:35:17", "url": "https://files.pythonhosted.org/packages/5e/ff/e9889f5945e496c3dc524360e44fb7d0ef28da077491583056055215158b/collective.behavior.amp-1.0a3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "26377c8c4b80b4baf17425eb3e374c8d", "sha256": "4985597086b7265ff63584e64c3a59b76ff2e952cd5913275cf101979f59d8f7" }, "downloads": -1, "filename": "collective.behavior.amp-1.0a3.tar.gz", "has_sig": false, "md5_digest": "26377c8c4b80b4baf17425eb3e374c8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 79712, "upload_time": "2017-04-13T22:35:17", "url": "https://files.pythonhosted.org/packages/5e/ff/e9889f5945e496c3dc524360e44fb7d0ef28da077491583056055215158b/collective.behavior.amp-1.0a3.tar.gz" } ] }