Posts

Showing posts from October, 2016

Automated Publish Module

Publishing restrictions are great they allow you to specify what date and time an item or version is publishable. This meets the use case where you might be creating content for your Christmas campaign and don't want it to go live until the 1st of December (or October if the current shop displays and adverts are anything to go by :S). The only issue with this is you have to manually publish after the time specified to get the content live. A common ask is for that content to go live out of normal office hours, say 00:01. Out of the box that would require someone to log in and hit publish. I was looking for something that would do this automatically. Two options spring to mind, but both have disadvantages: 1. Run a publish scheduled task at a defined interval, say 1hr. This will get the content live at the time you want, however the downsides are that it will publish any content that's publishable regardless of restrictions, it’s not only as accurate as the interval