{ "info": { "author": "Jonas Baumann, 4teamwork GmbH", "author_email": "mailto:info@4teamwork.ch", "bugtrack_url": null, "classifiers": [ "Framework :: Plone", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Introduction\n============\n\ncollective.filepreviewbehavior contains a behavior for using\nProducts.ARFilePreview with dexterity content types. The views and some adapters\nare overwritten ARFilePreview uses some Archetypes specific stuff.\n\nBE WARNED: If you have a dexterity setup, you may not want to install\nArchetypes. But Products.ARFilePreview was developed for Archetypes and may\nstill depend on it.\n\n\nUsage\n-----\n\nAdd the behavior ``collective.filepreviewbehavior.interfaces.IPreviewable`` to\nthe behaviors list of your dexterity conten type, then the uploaded file will be\nconverted to a HTML preview.\n\nUse as name for the file-field \"file\" and mark it as primary field. The file\nfield should be in your primary schema interfaces, a behavior schema interface\nmay not work.\n\nFor more information about marking as primary field check out the dexterity\ndocumentation (the chapter on webdav):\nhttp://plone.org/products/dexterity/documentation/manual/developer-manual/advanced/webdav-and-other-file-representations\n\n\nThe Views\n---------\n\nProducts.ARFilePreview provides three views:\n* *file_preview* : A view containg the download link and a the preview of the\ndocument embedded in the plone theme.\n* *preview_provider* : A view only containing the preview of the document. This\nview can be used as fullscreen / popup preview.\n* *file_asdoc* : A view only containing the preview of the document, but embedded\nin the plone theme.\n\nYou may the make some actions for your content, collective.filepreviewbehavior\nwill not create any actions.\n\n\nChangelog\n=========\n\n\n1.0a1\n-----\n\n* We should not expect the objects to provide the IBasic behavior, but we know\n that there is always a Title() and a Description() method (inherited from CMFCore)\n [26.11.2009, jbaumann]\n\n* MissingBinary should not fail, but skip creating the preview and put a error\n message into the log.\n [06.11.2009, jbaumann]\n\n* It should not fail if there is no primary field value\n [06.11.2009, jbaumann]\n\n* Added some tests, they are not working well because we test with a plain\n type (without any schemata and without a required file field).\n [23.10.2009, jbaumann]\n\n* Added some documentation\n [23.10.2009, jbaumann]\n\n* Initial implementation\n [22.10.2009, jbaumann]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://plone.org/products/arfilepreview/", "keywords": "dexterity behavior file preview Products.ARFilePreview ARFilePreview", "license": "GPL2", "maintainer": null, "maintainer_email": null, "name": "collective.filepreviewbehavior", "package_url": "https://pypi.org/project/collective.filepreviewbehavior/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.filepreviewbehavior/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://plone.org/products/arfilepreview/" }, "release_url": "https://pypi.org/project/collective.filepreviewbehavior/1.0a1/", "requires_dist": null, "requires_python": null, "summary": "Dexterity behavior for file previews based on Products.ARFilePreview (WARNING: Archetypes dependencies!)", "version": "1.0a1" }, "last_serial": 5823632, "releases": { "1.0a1": [ { "comment_text": "", "digests": { "md5": "43510552e5a6d45ffc42f3356df8b9ee", "sha256": "22a1a365a3ad4f3ddca08fec85f324d6d2ca07e967cde0317cee9c06d6e876c8" }, "downloads": -1, "filename": "collective.filepreviewbehavior-1.0a1-py2.4.egg", "has_sig": false, "md5_digest": "43510552e5a6d45ffc42f3356df8b9ee", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 15405, "upload_time": "2010-01-11T15:35:18", "url": "https://files.pythonhosted.org/packages/18/7e/3a332659b784249d98c606236572a4cf734e2c4b58b2a33757a972c29e31/collective.filepreviewbehavior-1.0a1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "960b752be4c01f2ef88050eb1eb93ff8", "sha256": "d3aba198a5ec27d0283ba6711ce5d3095171031903e4cef5c754055aa495554d" }, "downloads": -1, "filename": "collective.filepreviewbehavior-1.0a1.tar.gz", "has_sig": false, "md5_digest": "960b752be4c01f2ef88050eb1eb93ff8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6573, "upload_time": "2010-01-11T15:35:17", "url": "https://files.pythonhosted.org/packages/2e/e5/f0137d8ecaeb766cdd23d361202a034805b06fb245001493cbe60f04f6c2/collective.filepreviewbehavior-1.0a1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "43510552e5a6d45ffc42f3356df8b9ee", "sha256": "22a1a365a3ad4f3ddca08fec85f324d6d2ca07e967cde0317cee9c06d6e876c8" }, "downloads": -1, "filename": "collective.filepreviewbehavior-1.0a1-py2.4.egg", "has_sig": false, "md5_digest": "43510552e5a6d45ffc42f3356df8b9ee", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 15405, "upload_time": "2010-01-11T15:35:18", "url": "https://files.pythonhosted.org/packages/18/7e/3a332659b784249d98c606236572a4cf734e2c4b58b2a33757a972c29e31/collective.filepreviewbehavior-1.0a1-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "960b752be4c01f2ef88050eb1eb93ff8", "sha256": "d3aba198a5ec27d0283ba6711ce5d3095171031903e4cef5c754055aa495554d" }, "downloads": -1, "filename": "collective.filepreviewbehavior-1.0a1.tar.gz", "has_sig": false, "md5_digest": "960b752be4c01f2ef88050eb1eb93ff8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6573, "upload_time": "2010-01-11T15:35:17", "url": "https://files.pythonhosted.org/packages/2e/e5/f0137d8ecaeb766cdd23d361202a034805b06fb245001493cbe60f04f6c2/collective.filepreviewbehavior-1.0a1.tar.gz" } ] }