Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Future post publish date

  • #6836
    Avatar photo[anonymous]

    I like having drafts for posts that aren’t finished, and not ready to be published, but if a post is ready to be published but set to a future date, it should have a status such as “scheduled”.

    Then the next time I sync my website, if the current date is equal or greater than the scheduled date, that post will get published.

    This sets up the Publii app for future capabilities such as kicking off a daily sync via cron job.

    #6843
    Avatar photo[anonymous]

    Hi,

    I am not sure if it is a good idea, because it will suggest that some posts will be published automatically what is not true :/

    #6852
    Avatar photo[anonymous]

    Correct, that’s why I’m suggesting you have

    • draft button (for something that will never be published until it’s not a draft) – this would replace the “save as draft” dropdown, just make it a check box
    • and a scheduled (which would be a post that’s saved, but has a future date)
    #6898
    Avatar photo[anonymous]

    I agree, I think this is a great feature to have, regardless of whether an automatic sync is added (which I also think would be good and make this feature even better).

    #6900
    Avatar photo[anonymous]

    The Save functionality should not have “save as draft” in the dropdown.

    Saving is just to save the post, whether a draft, past, current, or future date.

    So just have “save” and “save and close” would be the correct actions in that button.

    “draft” is part of the Status of the post, it should be a toggle where the “mark as feature” “hide post” and “exclude from homepage” are.

    #6901
    Avatar photo[anonymous]

    Yeah, I agree. It feels weird when you’re working on a draft to continuously have to Save as Draft.

    #6918
    Avatar photo[anonymous]
    [anonymous] wrote:

    Correct, that’s why I’m suggesting you have

    • draft button (for something that will never be published until it’s not a draft) – this would replace the “save as draft” dropdown, just make it a check box
    • and a scheduled (which would be a post that’s saved, but has a future date)

    Having a scheduling mechanism is genius, and, if I’m not mistaken, available on WordPress too.

    As a content creator, it would help to sync posts with the release of videos. This way, you can schedule all your future content.

    If YouTube, Facebook, etc. allow for scheduling posts, it would make sense for Publii to have a scheduler too.

    #6940
    Avatar photo[anonymous]

    Something I’ve asked before, but the developers said it was too difficult to do, was syncing websites from command line. Then you could create a batchfile and schedule it with Task Scheduler. Then setting a future post date would also start to make sense.

    I see even more possibilities of command-line syncing. Some of my websites are fed information from another database. It would be great if I could run the site creation script and immediately trigger the website sync without having to open the Publii UI.

    But hey, that’s just a ‘nice to have’. Publii is great as it is.