Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delayed publishing
#1
Cheers!

Is there any known way to implement delayed publishing. E.g. for switching the post's status from "personal" to "public" at previously defined date/time (for example next tuesday at 14:00 pm)?
Sorry in advance if this question is supposed to be asked as feature request.

Thanks
Hail to get-simple developers!
Reply
#2
There is not, but a plugin/cron could probably do it. All it would have to do is change the page from private to not-private at the specified date.
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
Thanks Chris

I see it's a valuable reason for me to get started with studying GS-API.
Hail to get-simple developers!
Reply
#4
reff Wrote:Thanks Chris

I see it's a valuable reason for me to get started with studying GS-API.


Take a look at the News Manager plugin. It allows you to delay publish news entries until a certain date or time. You might also be able to take a look at how it does it, and see if you can do it for GS as a whole.
Reply
#5
@reff

How would you publish your pages? I mean, what plugin/script/etc would you use to post the links to those pages?
Reply
#6
@jyoz22 thanks for your idea

@Carlos It probably could be realized with a Cron task. For example a .php script could periodically scan for /data/pages/*.xml files and parse their pubDate tags. If the date is equal of bigger than current date then private post should be made public. Quite simple, isn't it?
Hail to get-simple developers!
Reply
#7
Carlos Wrote:How would you publish your pages? I mean, what plugin/script/etc would you use to post the links to those pages?

the Simple Backups script has an ingenious way of doing scheduled stuff w/o the use of a cron: http://get-simple.info/extend/plugin/sim...ckups/394/
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#8
@reff

I didn't express myself well. I mean, what are you (or would be) using to list published pages, e.g I18N Search, or some other plugin or script that displays links to pages?

--

I'm also interested in scheduling publication of pages. I've experimented with this:

- Simple script (as a plugin) to show a list of pages sorted by pubDate: Recent pages. It doesn't list pages with dates set in the future.

- To set the pubDate to a future date, edit the xml file, or use my pubDateFix plugin that lets you edit the pubDate field.

I'm now playing with I18N Search, I intended to do some patch for it, so that it doesn't show (or index) future pages in results.

With this approach, the future pages are not protected, but if users don't know their slugs, this may not be a problem... except for the sitemap: these pages are included in the sitemap.xml, so they could get indexed by SEs. Some patch would also be needed for this.
Reply
#9
I just finished a plugin that protects "delayed" pages from viewing and showing up in I18N search results:
Hide future pages: http://get-simple.info/forum/post/25700/#p25700

(As they still are included in sitemap.xml, for now this other plugin can be used in GS 3.1: Remove sitemap http://get-simple.info/forum/post/25701/#p25701)
Reply
#10
ccagle8 Wrote:
Carlos Wrote:How would you publish your pages? I mean, what plugin/script/etc would you use to post the links to those pages?

the Simple Backups script has an ingenious way of doing scheduled stuff w/o the use of a cron: http://get-simple.info/extend/plugin/sim...ckups/394/

Chris, this is an old php trick/hack. It's referred to as web bugs, there is a library out there called pseudo cron that also does this.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)