
內容簡介
Syndication 外掛幫助使用者在多個網站之間管理文章,讓內容能夠輕鬆地推送到超過 100 個平台。透過簡單的操作,使用者可以同時在多個 WordPress 網站上發佈文章,提升內容管理效率。
【主要功能】
• 同時發佈內容到多個 WordPress 網站
• 自動從 RSS/XML 源導入內容
• 支援多種傳輸方式(REST API、XML-RPC、RSS/XML)
• 將網站組織成群組以便管理
• 定時同步內容於文章發佈時自動更新
• 支援 WP-CLI 從命令列管理
外掛標籤
開發者團隊
原文外掛簡介
Syndication helps users manage posts across multiple sites. It’s useful when managing posts on different platforms. With a single click you can push a post to more than 100 sites.
Features
Push syndication – Publish content to multiple WordPress sites simultaneously
Pull syndication – Import content from RSS/XML feeds automatically
Multiple transport methods – WordPress.com REST API, XML-RPC, and RSS/XML feeds
Site groups – Organise destination sites into groups for easier management
Scheduled syndication – Content syncs automatically when posts are published
WP-CLI support – Manage syndication from the command line
Usage
Here’s how it works:
Configure which post types are “pushable”, as well as whether you’d like syndicated posts to be deleted when the master post is deleted.
Register and group your sites into “Sitegroups” in settings.
In the WordPress posting interface, you’ll see a new “Syndication” metabox, with all of your sitegroups listed. Select the sitegroups you want to push to and the post will be automatically syndicated to your other sites when it’s published and updated.
WordPress.com REST API
To push content using the WordPress.com REST API you need to create an application from the WordPress.com Developer Resources site – and you can also generate API tokens directly from the plugin’s settings page.
Fill in the client ID and client secret as displayed on the app page, and click the authorize button to get directed to the authorization page on WordPress.com. Select which site you’d like to push to and click “Authorize”, at which point you’ll be redirected back to your settings page-which will now display the API token, Blog ID, and Blog URL. You can now use this information to register your WordPress.com site.
Using WordPress XML-RPC
To push content using XML-RPC, you’ll need to enable XML-RPC on the destination site and provide the site URL, username, and password.
Note that if you have two-factor authentication enabled on the destination site, you will need to create an application password to use when adding a new site. Using your regular password will not work.
Pulling from RSS Feeds
Push Syndication can ingest RSS feeds into your site. It’s as simple as adding a site, setting the transport type to “RSS (pull)” and entering an RSS URL and title.
To add a site, go to the WordPress admin and find the “Sites” menu item, below Settings and choose “Add New”. In the settings, you’ll be able to customise the post’s type, status, comment settings, pingback settings and category.
Secure Credential Storage
To store passwords securely, define an encryption key in your wp-config.php:
`php
define( ‘PUSH_SYNDICATE_KEY’, ‘your-random-encryption-key-here’ );
`
This key is used to encrypt credentials when saved to the database.
Contributing
Pull requests are welcome on GitHub.
