{ "info": { "author": "Andreas Kaiser", "author_email": "disko@binary-punks.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Pylons", "Framework :: Pyramid", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: User Interfaces" ], "description": "==============\nkotti_newsitem\n==============\n\n|build status production|\n\nNews Item content type for Kotti.\n\nThis package provides:\n\n- a ``NewsItem`` content type that is just a Document with a different\n default view,\n\n- a ``news_listing`` view that provides an alternative default view for\n Document, for listing most recent published ``NewsItems`` on a full-page\n style display,\n\n- a ``RecentNews`` widget for showing most recent published ``NewsItems``\n in a slot, and\n\n- an ``all_news`` view that shows ALL ``News Items`` in your site,\n chronologically ordered.\n\n`Find out more about Kotti`_\n\nSetup\n=====\n\nTo activate the ``kotti_newsitem`` add-on in your Kotti site, you need to add\nan entry to the ``kotti.configurators`` setting in your Paste Deploy config.\nIf you don't have a ``kotti.configurators`` option, add one. The line in your\n``[app:main]`` (or ``[app:kotti]``, depending on how you setup Fanstatic)\nsection could then look like this::\n\n kotti.configurators = kotti_newsitem.kotti_configure\n\nConfiguration\n=============\n\nA good approach for managing news items on your site is to make a private\ncontainer document for holding the actual news items. It is a good idea to\norganize them somehow, as by year::\n\n news-items\n 2013\n news-item-foo\n news-item-bar\n ...\n 2014\n ...\n\nThis is primarily to help the content creator organize content, but it could\nalso be used as a \"manual\" way of presenting news items if published. Display\nof most recent news items can be done either by selecting ``News Listing`` for\nthe default view of a Document, or by using the recent news widget in a slot.\n\nNews Listing\n------------\n\nFor a full-page listing of most recent news items, add a Document, usually at\nthe top-level of your site and titled \"News\", and set its default view to\n``News Listing``. Control the number of recent items shown with::\n\n kotti_newsitem.num_news = 10\n\nAt the bottom of the list of news items, regardless of the number of recent\nnews items listed, is a link to a page for ``All News``, where all news items\nare shown.\n\nRecent News Widget\n------------------\n\nIf you want the ``RecentNews`` widget to show up in your site in a slot, either\nin place of a dedicated full-page news listing or to augment it, you have to\nadd a line like this to enable the recent news widget::\n\n kotti_newsitem.widget.slot = right\n\nThe for a list of available slots in a default Kotti site see the\n`kotti.view.slots API docs`_\n\nTo change the default number of recent news items shown in the widget (5), add\na line like this::\n\n kotti_newsitem.widget.num_news = 10\n\n.. Note:: kotti_newsitem.num_news controls the number of items shown in a\n news listing; kotti_newsitem.widget.num_news does the same for the\n widget. For example, you might have the news listing set to show 10,\n but the widget only 2.\n\nDevelopment\n===========\n\n|build status master|\n\nContributions to ``kotti_newsitem`` are highly welcome. Just clone its Github\nrepository and submit your contributions as pull requests.\n\n\n.. |build status production| image:: https://travis-ci.org/Kotti/kotti_newsitem.png?branch=production\n.. |build status master| image:: https://travis-ci.org/Kotti/kotti_newsitem.png?branch=master\n.. _Find out more about Kotti: http://pypi.python.org/pypi/Kotti\n.. _kotti.view.slots API docs: http://kotti.readthedocs.org/en/latest/_modules/kotti/views/slots.html#assign_slot\n\n\nChangelog\n=========\n\n0.2\n---\n\n- Added a full-page style news listing. [geojeff]\n\n0.1\n---\n\n- Initial release. [disko]", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kotti/kotti_newsitem", "keywords": "kotti content-type add-on", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "kotti_newsitem", "package_url": "https://pypi.org/project/kotti_newsitem/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/kotti_newsitem/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/kotti/kotti_newsitem" }, "release_url": "https://pypi.org/project/kotti_newsitem/0.2/", "requires_dist": null, "requires_python": null, "summary": "News Item content type for Kotti", "version": "0.2" }, "last_serial": 676392, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7e64c04959e5e92ea60ffebaf7267296", "sha256": "d87085d3884623b88f4d0cb5ee8b259e4884c86672a3d6f2f98452df0786481c" }, "downloads": -1, "filename": "kotti_newsitem-0.1.tar.gz", "has_sig": false, "md5_digest": "7e64c04959e5e92ea60ffebaf7267296", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7823, "upload_time": "2013-02-07T13:57:41", "url": "https://files.pythonhosted.org/packages/b9/68/dd2b17c2587fb138ba6c7459fc2644058b7544ae76cd5e329b503a4db637/kotti_newsitem-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "4d15a38e353e1b8a8e407671ad9a78fa", "sha256": "0ae9647acb5214ade5047d1634f5ea98ccb2028b57d5bfb1e01326e62466283a" }, "downloads": -1, "filename": "kotti_newsitem-0.2.tar.gz", "has_sig": false, "md5_digest": "4d15a38e353e1b8a8e407671ad9a78fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9782, "upload_time": "2013-02-13T09:28:12", "url": "https://files.pythonhosted.org/packages/fa/18/1304a91f8ed6a229debd755908d8fc1d9fb403431aa97a7bfacf0a8ed958/kotti_newsitem-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4d15a38e353e1b8a8e407671ad9a78fa", "sha256": "0ae9647acb5214ade5047d1634f5ea98ccb2028b57d5bfb1e01326e62466283a" }, "downloads": -1, "filename": "kotti_newsitem-0.2.tar.gz", "has_sig": false, "md5_digest": "4d15a38e353e1b8a8e407671ad9a78fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9782, "upload_time": "2013-02-13T09:28:12", "url": "https://files.pythonhosted.org/packages/fa/18/1304a91f8ed6a229debd755908d8fc1d9fb403431aa97a7bfacf0a8ed958/kotti_newsitem-0.2.tar.gz" } ] }