humanmade/extendable-aggregator
Composer 安装命令:
composer require humanmade/extendable-aggregator
包简介
Multisite post syncing framework
README 文档
README
Aggregates articles across multisite install
Basic Usage
Network activated plugin. It allows publishing posts from one site to all other network sites. There isn't any setting required for this plugin, You will get meta box Post Syndication with the list of other network sites, you can choose the sites and it will start syncing. By default, this plugin supports Post, Comment, Attachment, and Terms.
Also initially all synced posts will be linked to the source so that they will get updates. you can unlink by detaching from source.
Step-by-step instructions
- Log in to WordPress
- Go to
Add New Post - Prepare the post, Choose sites in
Post Syndicationon which you want to publish this post. - Click on Publish
- Wait for 5 mins
- Go to other network site dashboard to verify the post.
Troubleshooting
My content is not syndicating as expected
-
This may happen due to long queues of syndication jobs enqueued. To overcome that, you can click the Sync Now link beside the country name ( ie the refresh icon ), which executes the syndication process instantly rather than via the queue system.
-
Reason for that is that we have a hard limit ( filterable though ) of how many jobs can exist in a queue, for performance reasons, which should not be a problem in most cases. In cases where the queue is growing larger than expected, the plugin sends an email notification to the site admin email with the incident so it can be monitored/investigated further.
Is there a dashboard where I can track the syndication process ?
- There are plans to create a dashboard of sorts to monitor the syndication queues and status, but nothing that has been started yet. It is recommended to use the same tracking method as we have in the job feeds plugin ( reporting to NewRelic custom events, and to plain emails when NewRelic is not present ( eg in cron containers ) ).
Development tips
- The plugin has many usable filters/actions, feel free to use them before updating the main plugin files, to avoid any unexpected bugs or broken dependencies.
- The site repo has an integration plugin, cg-syndication, which controls the behavior of the plugin and hooks into many of the features/logic to customize it to the site needs. Look there first while debugging problems or tweaking the syndication logic.
- Most of the methods have inline documentation, and due to the complexity of the syndication process for Client, lots of the filters are already used in the integration plugin and would serve as good examples for future customization.
Next / recommended enhancements
There are a few updates that can make the plugin more usable, accessible, and easy to monitor track:
- A Dashboard of sorts to display the list of posts marked for syndication
- Integration with NewRelic custom events / email notifications
- UI hints on the last time a post has been synced for each post
- ?
humanmade/extendable-aggregator 适用场景与选型建议
humanmade/extendable-aggregator 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 7k 次下载、GitHub Stars 达 7, 最近一次更新时间为 2020 年 07 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 humanmade/extendable-aggregator 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 humanmade/extendable-aggregator 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2020-07-13