用于出站联合的plone包。
vice.plone.outbound的Python项目详细描述
内容
- What is it?
- Features
- History
- vice.plone.outbound - 1.0rc2 (not yet released)
- vice.plone.outbound - 1.0rc1 To be released October 12, 2008
- vice.plone.outbound - 1.0a1 Released April 29, 2008
- plone.app.syndication.oubound - 1.0a3 Released December 19, 2007
- plone.app.syndication.outbound - 1.0a2 Released October 24, 2007
- plone.app.syndication.outbound - 1.0a1 Released October 15, 2007
- Installation
- Customization
- Contact us
Features
outbound为所有“out of the 方框“原型内容类型(ATCT)和子类。任何文件夹(包括 站点根目录)可以配置任意数量的提要。这个罐头 用于以多种格式提供粒度或批量内容提要。
任何提要都可以设置为递归或非递归。递归提要将 包括源位置的所有内容以及任何 任何深度的提要子文件夹中包含的内容。一个 非递归feed将只在 饲料的水平。
可以在任何源上设置自动发现。这将使现代 聚合器和浏览器通过简单的 提供源文件夹的URL。注意每个文件夹只有一个提要 (位置)应配置为打开自动发现。
用户还可以在任何提要中包含“已发布的url”。这个遗嘱 使站点管理器能够轻松地通过以下服务路由所有流量 “feedburner”,首先在 feedburner,然后输入相应的feedburner url作为 订阅源的“已发布URL”。
可以为整个站点启用或禁用feed(请参见 plone中“syndication(outbound)”的附加产品配置 控制面板),在任何文件夹上,或每个源本身。
最大的全局和每个文件夹配置选项 将从任何相应的feed中联合的项目数。 修改日期用于对所有提要内容进行排序,其中 最近添加或修改的项首先出现。
安装说明在INSTALL.txt中。
History
(name of developer listed in brackets)
vice.plone.outbound - 1.0rc2 (not yet released)
- Fixed reST errors and improved documentation [pbugni]
vice.plone.outbound - 1.0rc1 To be released October 12, 2008
- Removed viewlets and configlet on uninstall. [MatthewWilkes]
- Add a doctest to show how to create new adapters for feeds and items. [pilz]
- Turn off KSS validation of the feed config grid. Because the name is a required attribute, KSS was reporting an error unless name was filled in first. Now, the name field will only be checked for presence during server round trips. Thanks to Godefroid for the KSS hints! Was http://plone.org/products/vice/issues/6 [pbugni and derek_richardson]
- Use plone.browserlayer to prevent availability of pages and views until installation (via GS or quickinstaller). This solves the symptom where, when vice eggs were present but installation had not been finished, the vice eggs broke the Plone site. [derek_richardson]
- Fixed http://plone.org/products/vice/issues/3 (Autodiscovered feed inserts redundant <html> tag ) [pbugni]
vice.plone.outbound - 1.0a1 Released April 29, 2008
- Change package name [derek_richardson]
- Change to use vice.zope2.outbound [derek_richardson]
- Add configlet icon [derek_richardson]
- Add autodiscovery viewlet for Plone 3.1 [derek_richardson]
- Add portlet for feeds [tim2p]
- Make published_url hideable on individual feed configs [derek_richardson]
- Make recursion hideable on individual feed configs [derek_richardson]
Installation
假设您的buildout.cfg位于编辑器中:
在要安装的鸡蛋列表中添加vice.plone.outbound,例如:
eggs = vice.plone.outbound
告诉plone.recipe.zope2instance配方安装zcml slug:
zcml = vice.plone.outbound
配置要使用的plone.recipe.zope2install配方 fake-zope-eggs。在buildout.cfg文件中,找到 [zope2]节,并添加fake-zope-eggs = true:
[zope2] fake-zope-eggs = true ...
重新运行构建:
$ ./bin/buildout -v
从控制面板安装
配置以在Add-on Product Configuration部分中使用 在PLONE控制面板中。
Customization
本文讨论了vice.plone.outbound可能是 延长。
Syndicating new feed and item types - new adapters
可以通过为提要类型编写新适配器来联合新的提要类型。 如果希望内容类型是项,请将其调整为ifeedeitem;如果希望 它是一种饲料,适应我的需要。如果您查看适配器中的atct.py/, 你会看到很多例子-只要在你自己的软件包中 在这个包裹里做的事。还有一个这样的例子 中的自定义项:
src/vice.plone.outbound/vice/plone/outbound/tests/adapting_contenttypes.txt
Modifying attributes of feed and item types - new adapters
您可以更改从内容类型收集数据并将其转换为 通过编写一个新的适配器来执行 西ish和overriding的股票副适配器。你可以取消股票期权 通过更改DefaultFeedFormats的内容或提供自己的 feed format ovject替换默认值。
Changing the body of a feed item - page templates
所有的stock vice提要项都使用一个页面模板来呈现提要的主体 物品。因此,您可以通过插入新页面自定义主体 以您喜欢的方式呈现主体的模板。
Creating new formats - page templates
vice(rss1、rss2、atom)的格式由 可用的格式。您可以通过添加新页面来添加新格式 模板并将它们与股票格式类似地连接起来。
Removing feed types - editing feed formats
如果希望删除vice默认提供的格式(例如 只希望用户能够创建atom提要),您可以通过更改 DefaultFeedFormats或提供您自己的feed格式实用程序。
Contact us
请找到file any bugs。加入或邮寄discussion list 分享意见和问题,或在#viceirc中找到我们 频道在Freenode。
如果你想为未来的副发展做出贡献,请加入 这个developers list。我们欢迎捐款。更多信息 可在open plans上的vice project找到。