Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Future] 希望增加定时发布的功能 #4602

Closed
xiaobai3310 opened this issue Sep 14, 2023 · 5 comments · Fixed by #5940
Closed

[Future] 希望增加定时发布的功能 #4602

xiaobai3310 opened this issue Sep 14, 2023 · 5 comments · Fixed by #5940
Assignees
Labels
area/core Issues or PRs related to the Halo Core kind/feature Categorizes issue or PR as related to a new feature.
Milestone

Comments

@xiaobai3310
Copy link

你当前使用的版本

2.9.1

描述一下此特性

有时候正好有时间,多写了几篇文章,但是不想一下子全部发布,有些文章需要后期在发布,现在需要手动到点了,登录后台进行手动发布,如果能定时自动发布就更方便了。

附加信息

No response

@JohnNiang
Copy link
Member

/kind feature
/area core

@f2c-ci-robot f2c-ci-robot bot added kind/feature Categorizes issue or PR as related to a new feature. area/core Issues or PRs related to the Halo Core labels Sep 14, 2023
@ruibaby
Copy link
Member

ruibaby commented Sep 22, 2023

这个功能是不是可以这样实现:

  1. 设置一个未来的发布时间。
  2. 查询文章的时候过滤掉未来的时间。

@JohnNiang
Copy link
Member

这个功能是不是可以这样实现:

  1. 设置一个未来的发布时间。
  2. 查询文章的时候过滤掉未来的时间。

还不能这么简单的实现。发布是一个动作,可能需要触发“发布事件“,只有该事件发生时,订阅者才应该收到。例如文章发布后同步到其他平台。

@ruibaby ruibaby added this to the 2.16.x milestone May 11, 2024
@guqing
Copy link
Member

guqing commented May 17, 2024

/assign

@guqing
Copy link
Member

guqing commented May 17, 2024

我的想法是可以添加一个 content.halo.run/scheduled-publish-at 的 annotation 用于处理这种情况

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants