Scheduled publishing allows articles or editions to not appear in the app if the publish date is in the future.
Both editions and singular articles can be set to publish at a schedule date, both work in different ways.
Editions
Scheduled editions will only be hidden in the app if `supports_scheduled_publishing` is enabled in the content feed configuration.
They'll appear in the origin OPDS feed with a published date in the future so Distribution will automatically ignore putting the PUBLISHED editions in the endpoint if the date is in the future.
Once the scheduled publish date is reached, the feed will need to be updated to pull in the now present edition into the endpoint. Because it has always been set to PUBLISHED the feed needs to recheck if the publish date is still in the future. (Best to do this with a cron.)
Pages
To allow for scheduled publishing on singular pages you will need the `scheduled` term in the category of the continuous edition.
Editions marked as scheduled are always re-updated from origin even if the date hasn't changed. You'll see "SCHEDULED" in the messages and a negative number in the modified date of the edition as they will appear in the Atom feed with a published date in the future
In processFilterAtom()
Distribution will automatically REMOVE scheduled articles from the feed and they'll be pulled in next time we pull the feed after the date.
NOTE: If using a CMS e.g. Wordpress to schedule, then they simply shouldn't be in the feed till they're ready.
Comments
0 comments
Please sign in to leave a comment.