newscoop/ingest-plugin-bundle
Composer 安装命令:
composer require newscoop/ingest-plugin-bundle
包简介
Ingest bundle for Newscoop v4.4
README 文档
README
This plugin adds functionality to Newscoop for importing external data sources.
Support Newscoop version 4.4
Installation
Installation is a quick process:
- How to install this plugin?
- That's all!
Step 1: How to install this plugin?
Run the command:
$ php application/console plugins:install "newscoop/ingest-plugin-bundle"
$ php application/console assets:install public/
Plugin will be installed to your project's newscoop/plugins/Newscoop directory.
Step 2: That's all!
Go to Newscoop Admin panel and then open Plugins tab. The Plugin will show up there. You can now use the plugin.
Note:
To update this plugin run the command:
$ php application/console plugins:update "newscoop/ingest-plugin-bundle"
$ php application/console assets:install public/
To remove this plugin run the command:
$ php application/console plugins:remove "newscoop/ingest-plugin-bundle"
Documentation
Parsers
By default there are two parsers included for these external sources. The RSS parser works out of the box and supports RSS 1.0, RSS 2.0 and ATOM feeds. The NewsML parser is based on the SDA implementation of NewsML but needs a little configuration, since most NewsML feeds are pushed via FTP to the server. The parser already includes basic functionality to read xml files from a directory. Extra parser can be installed by creating a file in the Parsers directory of this plugin. The abstract parser should be extended, since it already contains all valid methods and returns default valid values. One should just extend the needed methods and it's done. It's also possible to store additional information through the getAttribute() methods. See source code for more clarification.
Feeds
Multiple feeds can be added, using the same or different parsers. Per feed it's possible to set publication and section where the external content should be published, the parser can also specific a section per entry. Feeds can be updated manually through the backend interface or through console commands, which can also be used in a cron. Autmatic publishing of feeds is also possible.
Entries
All entries will be listed and can manually be published or prepared. By preparing an entry an article will be created, which could be edited by the user. Remember though that on updates of the feed the article content could be overwritten. Entries will be automatically updated with the correct content, uniqueness is determined by the newsItemId. Through the getInstruction method in the parser one can also specify to delete an entry.
License
This bundle is under the GNU General Public License v3. See the complete license in the bundle:
LICENSE
About
This Bundle is a Sourcefabric z.ú. initiative.
newscoop/ingest-plugin-bundle 适用场景与选型建议
newscoop/ingest-plugin-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 347 次下载、GitHub Stars 达 2, 最近一次更新时间为 2015 年 04 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「admin」 「cms」 「newscoop」 「integration」 「ingest」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 newscoop/ingest-plugin-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 newscoop/ingest-plugin-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 newscoop/ingest-plugin-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
2lenet/EasyAdminPlusBundle
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Analysis module for finding problematical shop data.
Integrate with Snipcart.
统计信息
- 总下载量: 347
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 18
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2015-04-30