https://github.com/ujamii/externalblog
NEOS CMS package to display content from an external blog
https://github.com/ujamii/externalblog
neos neos-cms rss-feed
Last synced: 6 months ago
JSON representation
NEOS CMS package to display content from an external blog
- Host: GitHub
- URL: https://github.com/ujamii/externalblog
- Owner: ujamii
- License: gpl-3.0
- Created: 2021-01-16T13:24:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-06T11:27:25.000Z (over 1 year ago)
- Last Synced: 2024-11-20T10:56:22.739Z (7 months ago)
- Topics: neos, neos-cms, rss-feed
- Language: PHP
- Homepage:
- Size: 40 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# External Blog extension for NEOS CMS
[](https://packagist.org/packages/ujamii/externalblog)
This package adds a new content type which shows a list of blog posts from an external blog.
## Installation
```shell
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:
```neosfusion
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
[GPLv3](LICENSE)
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](https://www.amazon.de/registry/wishlist/2C7LSRMLEAD4F).