django的生命流应用程序
django-lifestreams的Python项目详细描述
django lifestreams是django的lifestream应用程序。基于django lifestream,它允许 你可以从任何你想要的来源在你的网站上创建一个生命流。
lifestream是feed的组合,feed有一个源,应用程序从该源获取项。
插件
将插件添加到已安装的应用程序和Lifestreams插件选项
包括插件
- twitter:生命流.插件.生命流
- 必须安装在Y>;=2.1
- twitter:生命流.插件.生命流
- instagram:lifestreams.plugins.instagram
- 必须安装python instagram>;=0.8.0
- rss:生命流.plugins.rss
- 必须安装feedparser>;=5.0&python dateutil>;=2.1
lifestreams_plugin_choices示例
LIFESTREAMS_PLUGIN_CHOICES = ( ('lifestreams.plugins.lifestream_twitter.plugin.TwitterPlugin', 'Twitter'), ('lifestreams.plugins.lifestream_instagram.plugin.InstagramPlugin', 'Instagram'), ('lifestreams.plugins.lifestream_rss.plugin.RSSPlugin', 'RSS'), )
管理命令
python manage.py update_lifestreams <lifestream_name>