You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a very practical function that increases the user stickiness of the website
The existing message email notification function and article update notification function have a high degree of overlap. This article notification function can be completed with slight modifications
How to design and implement
Add an option to the waline backend user interface, whether to subscribe to the latest articles, checked by default
Waline adds API in the background. For data format, please refer to the json format of google push below. When website articles are updated, the API is called to notify registered users of waline by email.
With the waline backend api, you can make a slight improvement and change the hexo-web-push-notification plug-in to the waline notification plug-in
You can subscribe by email or other notification services such as Telegram and WeChat
You can refer to this json file format definition to implement the local or cloud article update notification function
newPost.json
{"title":"How to prevent password leakage and protect password security?","id":"posts/1d87ed2/","date_published":"05/31/2024","summary":"Background\n\n Password security: a necessity for modern digital life\n\n ...","url":"https://blog.17lai.site/posts/1d87ed2/","tags":["security","web" ,"password","bitwarden"],"categories":["web"]}
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
[Feature]: 添加网站文章更新订阅功能,给注册用户通知文章更新功能!
[Feature]: 添加网站文章更新订阅功能,给注册用户通知文章更新功能! || [Feature]: Add website article update subscription function to notify registered users of article update function!
Jun 23, 2024
In fact, due to the plug-in function implementation of Waline itself, you can even customize some functions (as for pushing article updates individually, I think Webpush’s timeliness and conversion rate are higher than email or other third-party notifications. Users Just click to allow notification permission, and you will receive the push when you turn on the phone and have an internet connection.
Personally, I think it can actually be combined with third-party service APIs such as follow.it to allow users to choose whether to receive notifications, or even become independent, publish monthly reports, and hang a plug-in for the comment area.
Users may just need to post comments because they have registered. Is it necessary for Waline to implement the article update notification function?
Webpush is easy enough for individual webmasters, such as comment notifications. I can receive replies immediately after users post comments, push updates when articles are updated, and category subscriptions https://blog.ccknbc.cc/ posts/hexo-webpushr-notification/
Personal opinion, specific considerations depend on how developers make decisions https://blog.ccknbc.cc/sub/
@CCKNBC Webpush is certainly easy to use, but there is a serious problem. Several domain names of webpush have been blocked by gfw, and domestic users cannot enjoy it.
Email subscription is a lower-level alternative to webpush that is not available. It is still qualified as a lower-level alternative.
My personal blog uses pwa to hijack the local webpush domain name to the proxy address. The webpush message is displayed after the webpage is refreshed three times. You can test whether it is available
功能概述 | Describe the feature
为什么要添加这个功能
如何设计实现
在 waline 后台用户界面添加一个选项,是否订阅最新文章,默认勾选
waline 后台添加api ,数据格式可以参考 下面 google push 的json格式,在网站文章更新的时候调用api来邮件通知waline注册用户
有了waline 后台api,就可以稍加改进,就把hexo-web-push-notification 插件改为waline通知插件
可以使用邮件订阅,也可以使用其它电报,微信等通知服务
google push 的json格式
newPost.json
Feature Overview | Describe the feature
Why add this feature?
How to design and implement
Add an option to the waline backend user interface, whether to subscribe to the latest articles, checked by default
Waline adds API in the background. For data format, please refer to the json format of google push below. When website articles are updated, the API is called to notify registered users of waline by email.
With the waline backend api, you can make a slight improvement and change the hexo-web-push-notification plug-in to the waline notification plug-in
You can subscribe by email or other notification services such as Telegram and WeChat
json format of google push
newPost.json
The text was updated successfully, but these errors were encountered: