manifest / integrations / eduwiki-post-sender
EduWiki Post Sender
Gửi bài viết (title, content, url) tới webhook n8n để xử lý và đăng lên Facebook.
★ 0stars
v1.0.1latest · 1 year ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/onzo191/eduwiki-post-sender/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
EduWiki Post Sender is a WordPress plugin that allows you to send published post data (title, content, URL) to an n8n webhook for further processing, such as posting to Facebook.
Features
- Adds a meta box to the post editor for sending posts to n8n.
- Sends post data via AJAX without reloading the page.
- Displays success or error messages after sending.
- Admin settings page to configure the n8n webhook URL.
Installation
- Download or clone this repository to your WordPress plugins directory.
- Activate the plugin from the WordPress admin dashboard.
Configuration
- Go to EduWiki Setting in the WordPress admin menu.
- Enter your n8n webhook URL and save.
Usage
- Edit or create a post and publish it.
- In the post editor sidebar, find the Tạo bài viết mạng xã hội meta box.
- Click Gửi tới n8n to send the post data to your configured n8n webhook.
- The status message will display the result and a link to view the post on Facebook if available.
Development
- JavaScript for AJAX is located in
assets/js/eduwiki-post-sender.js. - AJAX handler is in
includes/ajax-handler.php. - Meta box code is in
includes/meta-box.php. - Admin settings are in
includes/admin-settings.php.
Commit Message Convention
Use clear, descriptive commit messages in English, e.g.:
Add type="button" to prevent page reload on n8n send buttonFix: Handle error response from n8n webhook
License
MIT
Author: Hung Tuan (Onzo)
GitHub: https://github.com/Onzo191/
Releases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.