{ "info": { "author": "Hexagon IT", "author_email": "oss@hexagonit.fi", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Framework :: Plone :: 4.3", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "======================\nhexagonit.socialbutton\n======================\n\nThis package provides viewlet to embed social button to Plone site.\nThe viewlet can be assigned to wherever viewlet managers through the web.\nSince restrictions for the embedded code are not set,\nyou need to be cautious about the security risk with the embedding code.\n\nFurther Documentation URL\n-------------------------\n\n`http://packages.python.org/hexagonit.socialbutton/\n`_\n\nRepository URL\n--------------\n\n`https://github.com/hexagonit/hexagonit.socialbutton/\n`_\n\nConfiguration\n-------------\n\nOnce the package is installed through **Site Setup** **Add-ons**, there appears **Social Button Code Setting** and **Social Button Configuration** links within the **Add-on Configuration** section.\n\nTo start the configuration, go to **Social Button Code Setting** first to set the embedding code.\n\nSocial Button Code Setting\n==========================\n\nID\n The ID will be used for farther configuration and styling.\n\nCode\n The code to be embedded to viewlet.\n\nExample to set values from file system code::\n\n registry = getUtility(IRegistry)\n registry['hexagonit.socialbutton.codes'] = {\n u'facebook': {\n u'code_text': u'${title} ',\n }\n }\n\nExample to register through registry.xml::\n\n \n \n Codes for Social Buttons\n \n \n Value list\n \n \n Values\n \n \n \n \n \n <FACEBOOK>${title} <img src=\"${portal_url}/++resource++hexagonit.socialbutton/facebook.gif\" /></FACEBOOK>s\n \n \n \n\nCode variables\n==============\n\n${title}\n Title of the context.\n\n${description}\n Description of the context.\n\n${url}\n URL for the context\n\n${lang}\n Language in use like en.\n\n${lang_country}\n Locales including country code such as en_US.\n\n${portal_url}\n Plone site root URL.\n\nOnce **Social Button Code Setting** is set, you can go to **Social Button Configuration** for the farther configuration.\n\nSocial Button Configuration\n===========================\n\nID\n The ID set at **Social Button Code Setting**.\n\nContent Types\n The content types where the viewlet will be applied.\n\nViewlet Manager\n Add the names of viewlet managers line by line where the viewlet will be applied.\n\nView Models\n Add the names of views where the viewlet will be applied.\n For all the views, use ``*``.\n\nView permission only\n If checked, the viewlet is only available at view which are available to anonymous users,\n like in most cases for published contents.\n\nEnabled\n Uncheck this option, when disabling the code from the viewlet.\n\nExample to set values from file system code::\n\n registry = getUtility(IRegistry)\n registry['hexagonit.socialbutton.config'] = {\n u'facebook': {\n u'content_types': u'Page,News Item',\n u'viewlet_manager': u'plone.abovecontent\\nplone.belowcontent',\n u'view_models': u'*',\n u'view_permission_only': 'True',\n u'enabled': 'True',\n }\n }\n\nExample to register through registry.xml::\n\n \n \n Configuration for Social Buttons\n \n \n Value list\n \n \n Values\n \n \n \n \n \n Page,News Item\n plone.abovecontent\n plone.belowcontent\n *\n True\n True\n \n \n \n\nChange log\n----------\n\n0.11 (2014-05-13)\n=================\n\n- Get rid of portal_url. [taito]\n- Need plone.stringinterp>=1.0.11. [taito]\n\n0.10.2 (2013-11-12)\n===================\n\n- Bug fix for context which does not have type info. [taito]\n\n0.10.1 (2013-08-08)\n===================\n\n- Fix test. [taito]\n\n0.10 (2013-05-01)\n=================\n\n- Remove dependency from five.grok. [taito]\n- Integrate Travis CI. [taito]\n- Move test packages to extras_require. [taito]\n\n0.9 (2012-11-13)\n================\n\n- Add permission: **hexagonit.socialbutton: Manage Social Button** to manage social button. [taito]\n\n0.8.1 (2012-09-28)\n==================\n\n- Fix bug for multiple line code. [rnd, taito]\n\n0.8 (2012-09-20)\n================\n\n- Add dependency to Plone>=4.2.1 and removed dependency to plone.stringinterp>=1.0.7 since Plone-4.2.1 includes it.\n [taito]\n\n0.7 (2012-08-22)\n================\n\n- Dependency to plone.stringinterp>=1.0.7 added to make string interpolation available\n in the context of Plone Site root.\n [taito]\n\n0.6 (2012-08-21)\n================\n\n- Add guards for cases of None to the upgrade step [rnd]\n\n0.5 (2012-08-17)\n================\n\n- Update registry.xml to enable import and export. [taito]\n- Switch to use plone.stringinterp instead of format method\n for string interpolation in embedding codes.\n [taito]\n\n0.4 (2012-08-13)\n================\n\n- Fixing typo. Po-files initialized. Some translations. [rnd]\n- Fixing the problem with some views: guarding the viewlet [rnd]\n- google-plus image added [taito]\n\n0.3 (2012-08-08)\n================\n\n- Add class for styling against viewlet managers. [rnd]\n\n0.2 (2012-08-02)\n================\n\n- Uninstall profile to remove registry records added. [taito]\n- UnicodeDecodeError for context title and description fixed for the viewlet. [taito]\n- Add 'Plone Site' to the configurable content types. [taito]\n\n0.1 (2012-07-31)\n================\n\n- Initial release for use. [taito]\n\n0.0 (2012-07-24)\n================\n\n- Initial release. [taito]\n\nContributors\n------------\n\n* Kai Lautaportti \n* Roman Susi \n* Taito Horiuchi ", "description_content_type": null, "docs_url": "https://pythonhosted.org/hexagonit.socialbutton/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.hexagonit.fi", "keywords": "", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "hexagonit.socialbutton", "package_url": "https://pypi.org/project/hexagonit.socialbutton/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hexagonit.socialbutton/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.hexagonit.fi" }, "release_url": "https://pypi.org/project/hexagonit.socialbutton/0.11/", "requires_dist": null, "requires_python": null, "summary": "Adds viewlets for embedding codes such as social buttons for Plone.", "version": "0.11" }, "last_serial": 1090508, "releases": { "0.10.2": [ { "comment_text": "", "digests": { "md5": "e5292ec4dac93fcc51dbc26968a272a6", "sha256": "50d1526a3e7ab56736fd1a2d552968dcad82692666e835571cfce87411b4b4b1" }, "downloads": -1, "filename": "hexagonit.socialbutton-0.10.2.zip", "has_sig": false, "md5_digest": "e5292ec4dac93fcc51dbc26968a272a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60971, "upload_time": "2013-11-12T04:43:02", "url": "https://files.pythonhosted.org/packages/d0/17/e052f5d578b5b72a981b428d4542070109a777067b4a2b9485ddabaef5ee/hexagonit.socialbutton-0.10.2.zip" } ], "0.11": [ { "comment_text": "", "digests": { "md5": "c371c29955eeaba894d603ecfa749f4c", "sha256": "44e18fd85e6ae2eb26710e28e9725db0f7ea5ab634bfafd6751a9453746a2797" }, "downloads": -1, "filename": "hexagonit.socialbutton-0.11.zip", "has_sig": false, "md5_digest": "c371c29955eeaba894d603ecfa749f4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55918, "upload_time": "2014-05-13T08:41:11", "url": "https://files.pythonhosted.org/packages/d1/4c/5ee565f3ef845816c9f946ee1db0439bbd207a90a028f4942eeed5cf961e/hexagonit.socialbutton-0.11.zip" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "0be2d14b0f80045281d170506d3cba69", "sha256": "1ea66a97abf9c3b96c4aea0fe733703bb8ab562e2ec9e6fac5b21ef7c2b8c467" }, "downloads": -1, "filename": "hexagonit.socialbutton-0.8.zip", "has_sig": false, "md5_digest": "0be2d14b0f80045281d170506d3cba69", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52084, "upload_time": "2012-09-20T08:12:13", "url": "https://files.pythonhosted.org/packages/96/8b/2bc07c7c1d6231f3543ef8c76e427c0eeab4a0cd6d05aca161317cbea94d/hexagonit.socialbutton-0.8.zip" } ], "0.8.1": [ { "comment_text": "", "digests": { "md5": "45431d9210ec582cdc9f3ddb4b9d68ff", "sha256": "4fcd11827f35b5f6eeb101a488122a013977b056f3c5d9ecc669c79a2b7c4fa8" }, "downloads": -1, "filename": "hexagonit.socialbutton-0.8.1.zip", "has_sig": false, "md5_digest": "45431d9210ec582cdc9f3ddb4b9d68ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52583, "upload_time": "2012-09-28T06:51:39", "url": "https://files.pythonhosted.org/packages/50/4b/e40e155279c9ebc2281a3ebc9588872d2ecaca9601d545acf6d2f9ca556c/hexagonit.socialbutton-0.8.1.zip" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "e0f1fdc68b9dc2fae499bb2d6f4f1b62", "sha256": "654709feff109d4a2a88119cf510550154277c90d34eba8dcc334fc57b27a8c2" }, "downloads": -1, "filename": "hexagonit.socialbutton-0.9.zip", "has_sig": false, "md5_digest": "e0f1fdc68b9dc2fae499bb2d6f4f1b62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52493, "upload_time": "2012-11-13T07:22:09", "url": "https://files.pythonhosted.org/packages/3c/7c/4df8f3d8235011f21052523bb24c513cc922d546405b722513391c90d68e/hexagonit.socialbutton-0.9.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c371c29955eeaba894d603ecfa749f4c", "sha256": "44e18fd85e6ae2eb26710e28e9725db0f7ea5ab634bfafd6751a9453746a2797" }, "downloads": -1, "filename": "hexagonit.socialbutton-0.11.zip", "has_sig": false, "md5_digest": "c371c29955eeaba894d603ecfa749f4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55918, "upload_time": "2014-05-13T08:41:11", "url": "https://files.pythonhosted.org/packages/d1/4c/5ee565f3ef845816c9f946ee1db0439bbd207a90a028f4942eeed5cf961e/hexagonit.socialbutton-0.11.zip" } ] }