philtenno/news-pull
Composer 安装命令:
composer require philtenno/news-pull
包简介
Contao-Erweiterung zum Importieren von News.
README 文档
README
Contao extension for automated news import – N8N
'News Pull' is a Contao extension for the automatic import of news items. Via backend configuration, multiple news archives of the Contao news bundle can be populated independently of each other. All imported news items can then be edited further in the backend as usual or published automatically right away. The import format is JSON. Transmission is done via an HTTP-Request (POST): https://domain.com/newspullimport?token=your_token
'News Pull' enables the automation of news items using platforms such as N8N. A frontend module additionally allows displaying related articles based on keywords. The frontend module can simply be placed after the Contao news reader module.
Import formats
The import is performed via HTTP POST request to the endpoint: https://domain.com/newspullimport?token=your_token
Variant 1: JSON structure:
[ { 'title': 'News title 1', 'teaser': 'Teaser text', 'article': 'Article text: plain text and/or HTML elements as in TinyMCE are allowed', 'metaTitle': 'Meta title of the news item', // -> optional: fallback = title 'metaDescription': 'Meta description of the article', // -> optional: fallback = teaser 'dateShow': '2025-06-10 04:06:00', // -> optional: date when the article should become visible 'keywords': 'keyword-1,keyword-2,keyword-3', // -> optional: keywords for related articles 'image': 'Name of an image file', // -> image.jpg // -> optional, if an image has been uploaded separately to the server (directory is defined in the extension configuration in Contao) 'imageAlt': 'Alt description' // -> image description / alt text // -> optional } ]
Variant 2: Multipart (new):
curl -X POST "https://domain.com/newspullimport?token=your_token"
-F 'payload={
"items": [
{
"title": "News title 1",
"teaser": "Teaser text",
"article": "Article text or HTML elements",
"metaTitle": "Meta title of the news item",
"metaDescription": "Meta description of the news item",
"dateShow": "2025-06-10 04:06:00",
"keywords": "keyword-1,keyword-2,keyword-3",
"imageAlt": "Description of the image"
}
]
};type=application/json'
-F 'image=@/path/to/file.jpg;type=image/jpeg'
Installation
$ composer require philtenno/news-pull
Use cases
--> News --> Magazines --> SEO --> Intranet publications
made with love by hardbitrocker
philtenno/news-pull 适用场景与选型建议
philtenno/news-pull 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 36 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 06 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「import」 「workflow」 「news」 「automation」 「contao」 「n8n」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 philtenno/news-pull 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 philtenno/news-pull 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 philtenno/news-pull 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Workflow for NetCommons Plugin
Parse use statements for a reflection object
Tool for copying data from a production database to a dev database. Also useful for making backups of production databases.
Workflow logger
A fork of konnco/filament-import with support of Laravel 11 since the default importer of Filament 3 is nonsense for basic use case.
Approval Workflow Engine for Filament
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2025-06-12