到期后如何撤消内容 [英] How to retract content after expiration date

查看:79
本文介绍了到期后如何撤消内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的一位客户正在其网站上使用第三方内容,由于许可证限制,该内容在一个月后必须不可用.

one of our customers is using in their site third party content that must be unavailable after one month because of license restrictions.

在这种情况下,过期的内容将无济于事,因为该内容仍可在网站上使用,并且任何已有其地址的人都可以查看.

in this specific case expiring content will not help because the content is still available on the site and is viewable by anyone who already has its address.

我们进行了快速研究,找到了我们的朋友Mikko Ohtamaa(还有谁?)关于基于时间的工作流过渡,我目前正在检查依赖项是否适用于最新版本的Plone.

we make a quick research and found an old tutorial by our friend Mikko Ohtamaa (who else?) about Time based workflow transitions and I'm currently checking if dependencies work on latest versions of Plone.

在过期日期之后,是否还有其他人对如何撤回内容有不同的方法?这是最好的方法吗?

does anybody else has a different approach on how to retract content after expiration date or this is the best one?

推荐答案

collective.autopublishing可以基于有效/有效日期或自定义日期字段来发布/撤消内容.使用cron或clockserver触发器搜索要撤消或发布的内容. 参见 https://github.com/collective/collective.autopublishing

collective.autopublishing can publish / retract content based on effective/expiration date, or a custom date field. Using a cron or clockserver trigger to search for content to retract or publish. See https://github.com/collective/collective.autopublishing

这篇关于到期后如何撤消内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆