portlet等待使用oembed/embeddly显示外部链接
collective.portlet.oembed的Python项目详细描述
简介
这个插件添加了一个portlet,允许您使用oembed的功能。Portlet 等待url(必需)、maxwidth&maxheight(可选)和一些显示 相关选项(与静态Portlet相同)
此加载项使用collective.oembedoembed consumer,因此支持的服务是 相同的。
portlet添加/编辑表单
- 标题(文本)
- 远程url(uri)
- 最大宽度(int)
- 最大高度(int)
- 省略boder(bool)
- 页脚(文本)
- 更多URL(uri)
额外功能:使用jquery oembedall进行渲染
默认情况下,此加载项使用collective.oembed呈现portlet。 这意味着html代码是在服务器端生成的。 这可以使用javascript实现。
您可以安装collective.js.oembedall并设置 “collective.portlet.oebmed.rendering”配置注册表的记录 '集合.js.oembedall'
更改日志
1.2.1(2013-01-02)
- 向Portlet添加响应选项,以便能够取消对某些已响应的URL(如SoundCloud)的激活。
1.2(2013-01-02)
- 添加collective.js.oembedall渲染选项
- 添加collective.oembed.jquery呈现选项并在默认情况下激活它
- 激活由collective.oembed.jquery rendering管理的响应选项
1.1(2012-07-10)
- 现在portlet使用superconsumer而不是consumer来支持 collective.oembed支持的服务
1.0(2012-01-13)
- 使用collective.oEmbed 1.0 API进行调整
1.0a(2012-01-02)
- 初始版本