I’ve gotten a vague request to add a “corporate news channel” to our vaadin app.
The goal is to maintain it outside the app and make it available to several instances.
I don’t think the app needs to interact with the content other than to display it, though I might need to know if there is new content
Any opinions on which tools to use to produce such a feed, and how to embed it in Vaadin?
Would you like to build it by your own or do you only want to embed an external system?
Without deeper knowledge i would create a view for “Authors” who can add and edit news and a view for showing up the latest news. Maybe kind of “cards”
I assume they’ll want a proper wysiwyg editor, image upload, clickthrough metrics etc, so using some ready made 3rd party authoring system seems the way to go.
Not sure what is best for displaying in the app.
One possibility is something with an rss feed that I can loop over and generate cards.
Another possibility is something that gives me the finished inner html
Not sure if I want a finished html page in an iframe, but that is an option too.
Sure , but for now everything is undefined. I just wanted to investigate options. If there is something that is better/worse than something else, I might be able to steer them in a sensible direction.
Do you have external system that already produces feed of “corporate news” that you want to subscribe and show in your Vaadin app or is your Vaadin application going to be the system where it is authored and maintained?
There are also headless CMS systems, where content writers can author various types of content, and different applications can then fetch the content from an API as JSON and render it in whatever way is appropriate for that specific app.
Everything is still vague, so I was just trying to get a sense of what was possible / sensible.
Reading and displaying an RSS feed worked fine, but I’ve parked this for now until the requirements are clearer.
You can build full master UI to Vaadin application to manage such things using e.g. RTE component or TinyMCE add-on. Naturally you need some business logic, which is out of scope of the UI framework. Probably you need ways to publish the news to other systems.