{ "info": { "author": "Christopher Arndt", "author_email": "chris@chrisarndt.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: TurboGears", "Framework :: TurboGears :: Widgets", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Turbofeeds is a TurboGears_ 1 extension which provides support for generating\r\nRSS and Atom feeds and matching display widgets.\r\n\r\nTurboFeeds was formerly the ``feed`` sub-package of the main TurboGears\r\ndistribution. It was extracted from the TG core to ease updating, enhancing,\r\nand maintaining both projects.\r\n\r\nTurboFeeds is mostly backwards-compatible with the ``turbogears.feed``\r\npackage, but has lots of fixes and a few new features, most importantly support\r\nfor Genshi templates. It works with both the TurboGears 1.0 and the 1.1 branch.\r\n\r\n\r\nInstallation\r\n------------\r\n\r\nTo install TurboFeeds from the Cheeseshop_ use `easy_install`_::\r\n\r\n [sudo] easy_install TurboFeeds\r\n\r\nThis requires the setuptools_ package to be installed. If you have not done so\r\nalready, download the `ez_setup.py`_ script and run it to install setuptools.\r\n\r\nIf you want to get the latest development version, you can check out the\r\ntrunk from the `Subversion repository`_ with::\r\n\r\n svn co http://svn.turbogears.org/projects/TurboFeeds/trunk TurboFeeds\r\n\r\nFor bug reports and feature requests, please go to the TurboGears trac at\r\nhttp://trac.turbogears.org/.\r\n\r\nTo open a ticket, you'll need a trac account. Please select \"TurboFeeds\" as the\r\nticket component.\r\n\r\n\r\nUsage\r\n-----\r\n\r\nController::\r\n\r\n from turbogears import controllers, expose\r\n from turbofeeds import FeedController, FeedHeadLinks, FeedLinks\r\n\r\n class MyFeedController(FeedController):\r\n def get_feed_data(self, **kwargs):\r\n entries = []\r\n # Fill ``entries`` with dicts containing at least items for:\r\n #\r\n # title, link, summary and published\r\n #\r\n # For example, supposing ``entry`` is a database object\r\n # representing a blog article:\r\n entries.append(dict(\r\n title = entry.title,\r\n author = dict(name = entry.author.display_name,\r\n email = entry.author.email_address),\r\n summary = entry.post[:30],\r\n published = entry.published,\r\n updated = entry.updated or entry.published,\r\n link = 'http://blog.foo.org/article/%s' % entry.id\r\n ))\r\n return dict(entries=entries)\r\n\r\n class Root(controllers.RootController):\r\n feed = MyFeedController(\r\n base_url = '/feed',\r\n title = \"my fine blog\",\r\n link = \"http://blog.foo.org\",\r\n author = dict(name=\"John Doe\", email=\"john@foo.org\"),\r\n id = \"http://blog.foo.org\",\r\n subtitle = \"a blog about turbogears\"\r\n )\r\n feedlheadinks = FeedHeadLinks(controller=feed)\r\n feedlinks = FeedLinks(controller=feed,\r\n title = \"Click link to access the feed in %(type)s format\")\r\n\r\n @expose('.templates.mypage')\r\n def mypage(self):\r\n return dict(\r\n feedheadlinks=self.feedheadlinks,\r\n feedlinks=self.feedlinks)\r\n\r\nTemplate::\r\n\r\n \r\n ${feadheadlinks()}\r\n ...\r\n \r\n \r\n

Feed links

\r\n ${feedlinks('%(type)s feed', url_params=dict(format='full'))}\r\n ...\r\n \r\n\r\n\r\nDocumentation\r\n-------------\r\n\r\nThe TurboFeeds source is thoroughly documented with doc strings.\r\nThe source distribution comes with epydoc-generated `API documentation`_\r\nincluded.\r\n\r\nYou can also refer to the documentation for the original ``turbogears.feed``\r\npackage on the TurboGears documentation wiki:\r\n\r\n http://docs.turbogears.org/1.0/FeedController\r\n\r\nAll information on this page is also still valid for TurboFeeds, you\r\njust have to replace::\r\n\r\n from turbogears.feed import FeedController\r\n\r\nwith::\r\n\r\n from turbofeeds import FeedController\r\n\r\nCredits\r\n-------\r\n\r\n* The ``turbogears.feed`` package was first introduced in TurboGears version\r\n 0.9a1 and was added by Elvelind Grandin.\r\n\r\n* Christopher Arndt turned it into the TurboGears extension TurboFeeds.\r\n\r\n* Other contributors include:\r\n\r\n Florent Aide, Simon Belak, Kevin Dangoor, Charles Duffy, Alberto Valverde,\r\n Jorge Vargas\r\n\r\n Please notify the maintainer, if you think your name should belong here too.\r\n\r\n* The feed icons used by the CSS for the FeedLinks widget where taken from\r\n http://www.feedicons.com/.\r\n\r\n\r\n.. _turbogears: http://www.turbogears.org/\r\n.. _cheeseshop: http://cheeseshop.python.org/pypi/TurboFeeds\r\n.. _setuptools: http://peak.telecommunity.com/DevCenter/setuptools\r\n.. _easy_install: http://peak.telecommunity.com/DevCenter/EasyInstall\r\n.. _ez_setup.py: http://peak.telecommunity.com/dist/ez_setup.py\r\n.. _api documentation: http://chrisarndt.de/projects/turbofeeds/api/index.html\r\n.. _subversion repository:\r\n http://svn.turbogears.org/projects/TurboFeeds/trunk#egg=turbofeeds-dev", "description_content_type": null, "docs_url": null, "download_url": "http://cheeseshop.python.org/pypi/TurboFeeds", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://chrisarndt.de/projects/turbofeeds", "keywords": "turbogears.widgets", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "TurboFeeds", "package_url": "https://pypi.org/project/TurboFeeds/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/TurboFeeds/", "project_urls": { "Download": "http://cheeseshop.python.org/pypi/TurboFeeds", "Homepage": "http://chrisarndt.de/projects/turbofeeds" }, "release_url": "https://pypi.org/project/TurboFeeds/0.2b/", "requires_dist": null, "requires_python": null, "summary": "TurboGears controller and widgets for feed handling.", "version": "0.2b" }, "last_serial": 126801, "releases": { "0.1b": [ { "comment_text": "", "digests": { "md5": "747ba5e90bd92eae4de471b704012653", "sha256": "d0f236cf2b1782ebe4ccaa25916f467f75ecf24e5a430cda44acd7222348628e" }, "downloads": -1, "filename": "TurboFeeds-0.1b-py2.5.egg", "has_sig": false, "md5_digest": "747ba5e90bd92eae4de471b704012653", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 25338, "upload_time": "2007-12-07T23:15:05", "url": "https://files.pythonhosted.org/packages/ce/8a/14216fcac2f78a762d105757b71c2488e0344b7f62a4e59512dea8ccd45f/TurboFeeds-0.1b-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "0f581c5dd3ac2075fb64068d6c1f8c3e", "sha256": "fa89ec17e1d53440207ab94c6555e982f0aa0bf02fc285e852066f01cb979898" }, "downloads": -1, "filename": "TurboFeeds-0.1b.tar.bz2", "has_sig": false, "md5_digest": "0f581c5dd3ac2075fb64068d6c1f8c3e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42174, "upload_time": "2007-12-07T23:15:04", "url": "https://files.pythonhosted.org/packages/4a/b0/2374ad2b6062517c056b2a87458e1689c2e2f0047b41bde4e3a38ccb1582/TurboFeeds-0.1b.tar.bz2" }, { "comment_text": "", "digests": { "md5": "ba101c46c44b12fbcb9b8a59a140bb74", "sha256": "d99c0ec8494f570e2d2211b4915b23f305f78095e05ff83ae0184df17d9a16b2" }, "downloads": -1, "filename": "TurboFeeds-0.1b.zip", "has_sig": false, "md5_digest": "ba101c46c44b12fbcb9b8a59a140bb74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 106266, "upload_time": "2007-12-07T23:15:03", "url": "https://files.pythonhosted.org/packages/a2/7c/d2350a3692750771f583211f05449bdff1ff365c56f00618b0edecf5f86c/TurboFeeds-0.1b.zip" } ], "0.2b": [ { "comment_text": "", "digests": { "md5": "cd1eafd8949d6f0f41c25d0b03dff76a", "sha256": "34d1b0238cce0f6f2d91c5928301e987de8f9e4419e3912300b7170ea195f2f8" }, "downloads": -1, "filename": "TurboFeeds-0.2b-py2.5.egg", "has_sig": false, "md5_digest": "cd1eafd8949d6f0f41c25d0b03dff76a", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 34650, "upload_time": "2009-09-27T05:45:23", "url": "https://files.pythonhosted.org/packages/d0/f2/8584546630b4e7ca0b46c2c2f4cf10f3bd2a55b140c3622c38621533642f/TurboFeeds-0.2b-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "7e541fe17c70518de9129d1768d0f566", "sha256": "92d7cc2e48f130131b73f04a1084fb87ad0a17a746d74c45c5924404a9634780" }, "downloads": -1, "filename": "TurboFeeds-0.2b.tar.bz2", "has_sig": false, "md5_digest": "7e541fe17c70518de9129d1768d0f566", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52207, "upload_time": "2009-09-27T05:45:21", "url": "https://files.pythonhosted.org/packages/1f/d9/b9e049243ed7e50cc5c527680acec853820a32737f4a0a131acad182ed3e/TurboFeeds-0.2b.tar.bz2" }, { "comment_text": "", "digests": { "md5": "8dcf7423f3b9dbcd19ba5da731f1ece3", "sha256": "53c677ff7d4523dcf69f997132fd129185ff7173b4b0a592c3c0ec598dce2ee0" }, "downloads": -1, "filename": "TurboFeeds-0.2b.zip", "has_sig": false, "md5_digest": "8dcf7423f3b9dbcd19ba5da731f1ece3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 140368, "upload_time": "2009-09-27T05:45:20", "url": "https://files.pythonhosted.org/packages/6e/f5/0cc9e10a58eeae16a01d01aaef1d5c5047b1ce236db7b5e64d25c7fc5a36/TurboFeeds-0.2b.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd1eafd8949d6f0f41c25d0b03dff76a", "sha256": "34d1b0238cce0f6f2d91c5928301e987de8f9e4419e3912300b7170ea195f2f8" }, "downloads": -1, "filename": "TurboFeeds-0.2b-py2.5.egg", "has_sig": false, "md5_digest": "cd1eafd8949d6f0f41c25d0b03dff76a", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 34650, "upload_time": "2009-09-27T05:45:23", "url": "https://files.pythonhosted.org/packages/d0/f2/8584546630b4e7ca0b46c2c2f4cf10f3bd2a55b140c3622c38621533642f/TurboFeeds-0.2b-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "7e541fe17c70518de9129d1768d0f566", "sha256": "92d7cc2e48f130131b73f04a1084fb87ad0a17a746d74c45c5924404a9634780" }, "downloads": -1, "filename": "TurboFeeds-0.2b.tar.bz2", "has_sig": false, "md5_digest": "7e541fe17c70518de9129d1768d0f566", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52207, "upload_time": "2009-09-27T05:45:21", "url": "https://files.pythonhosted.org/packages/1f/d9/b9e049243ed7e50cc5c527680acec853820a32737f4a0a131acad182ed3e/TurboFeeds-0.2b.tar.bz2" }, { "comment_text": "", "digests": { "md5": "8dcf7423f3b9dbcd19ba5da731f1ece3", "sha256": "53c677ff7d4523dcf69f997132fd129185ff7173b4b0a592c3c0ec598dce2ee0" }, "downloads": -1, "filename": "TurboFeeds-0.2b.zip", "has_sig": false, "md5_digest": "8dcf7423f3b9dbcd19ba5da731f1ece3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 140368, "upload_time": "2009-09-27T05:45:20", "url": "https://files.pythonhosted.org/packages/6e/f5/0cc9e10a58eeae16a01d01aaef1d5c5047b1ce236db7b5e64d25c7fc5a36/TurboFeeds-0.2b.zip" } ] }