ujamii/externalblog
Composer 安装命令:
composer require ujamii/externalblog
包简介
NEOS CMS package to display content from an external blog.
README 文档
README
This package adds a new content type which shows a list of blog posts from an external blog.
Installation
composer req ujamii/externalblog
Usage
The package provides a new content node type "External Blog Post List". When you add this to your site, you have to provide a feed url (Atom or RSS) and you can set the amount of items to show.
TODOs
- feature: multi language
- feature: link editor for external blog posts (search by title, add url)
- feature: Command Controller for continuous import of external blog posts as Document nodes
- make those posts searchable in the NEOS website
Templates
The fusion views are pretty basic, so you will probably want to overwrite it:
prototype(Ujamii.ExternalBlog:Component.Molecule.PostList) < prototype(Neos.Fusion:Component) {
# note about images: props.post.firstMediaUrl will contain the absolute URL to an external image.
# if you prefer to store this locally, use this eel helper to get as asset:
# imageResource = ${Ujamii.ExternalBlog.importRemoteImage(this.post.firstMediaUrl, "externalblog")}
# you can also pass the target collection name as second argument. "imported" is default
# if you import it as NEOS asset, you can apply resize, crop and so on.
renderer = 'Whatever you like'
}
If you want to adjust the rendering of the single content elements, just overwrite them as you like.
All the rendering is done with the files located in Resources/Private/Fusion/Component/.
License and Contribution
As this is OpenSource, you are very welcome to contribute by reporting bugs, improve the code, write tests or whatever you are able to do to improve the project.
If you want to do me a favour, buy me something from my Amazon wishlist.
ujamii/externalblog 适用场景与选型建议
ujamii/externalblog 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.76k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2021 年 01 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 ujamii/externalblog 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ujamii/externalblog 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2021-01-16