用于出站联合的plone包。

vice.plone.outbound的Python项目详细描述


What is it?

outbound为plone提供了联合web的能力 订阅源(rss、atom等)。它可由用户配置,并可通过 开发商。

plone要求:3.1版

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]

plone.app.syndication.oubound - 1.0a3 Released December 19, 2007

  • Add metadata.xml to default GS profile, declaring version 1. Importing the profile will cause the global feed settings to be reset, so you’ll need to reconfigure it through the site settings configlet. Hopefully this is the last time that will happen, as the new metadata.xml should prevent that in the future. [derek_richardson]
  • Display standard feed icons next to feed links in viewlet. [derek_richardson]
  • Store the ID on the FeedConfig annotation, so it cannot change. Fix bad ID generation, bug #002. [derek_richardson]
  • New SyndicationTool that delegates to global FeedConfig utility. Issues deprecation warnings when used. [matthewwilkes]

plone.app.syndication.outbound - 1.0a2 Released October 24, 2007

  • Published feed urls different from their internal urls [derek_richardson]
  • Remove ‘@@’ view marker from feed URLs [matthewwilkes]

Installation

假设您的buildout.cfg位于编辑器中:

  1. 在要安装的鸡蛋列表中添加vice.plone.outbound,例如:

    eggs =
        vice.plone.outbound
    
  2. 告诉plone.recipe.zope2instance配方安装zcml slug:

    zcml =
        vice.plone.outbound
    
  3. 配置要使用的plone.recipe.zope2install配方 fake-zope-eggs。在buildout.cfg文件中,找到 [zope2]节,并添加fake-zope-eggs = true

    [zope2]
    fake-zope-eggs = true
    ...
    
  1. 重新运行构建:

    $ ./bin/buildout -v
    
  2. 从控制面板安装

  3. 配置以在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找到。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
用于OneToMany关系的java JPA NamedQuery   java我需要在JSTL c:import上对法语字符进行什么编码   排序如何使用文件中的名称对高分列表进行排序?JAVA   java如何将结果保存到txt文件而不使用打印行?   如何在最终编译之前使用java注释修改源代码?   为什么分配的java变量的行为类似于引用?   MVEL“in”运算符不适用于java中的集合   java Spring引导安全配置不能与角色/权限一起正常工作   Java将泛型类型与Void进行比较   java Kotlin生成priavate字段:@MyAnnotation字段不能是私有的或静态的   多线程Java同步将对象传递到外部方法   java使用MongoDB作为hadoop mapreduce作业的I/O   java JTable渲染器不更改背景   java服务器客户端socket编程   Java中的阻塞信号量是什么?   Java向量类未更新   mysql如何使用Java中的executeQuery()获取返回?   包含特殊字符的java解析字符串   java I有三个开关按钮,如果一个开关按钮处于活动状态,那么其他两个开关按钮应保持不活动或禁用