Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RSS Feed creator #27

Open
ldittmar81 opened this issue Jan 6, 2022 · 2 comments
Open

RSS Feed creator #27

ldittmar81 opened this issue Jan 6, 2022 · 2 comments

Comments

@ldittmar81
Copy link
Contributor

Is there a way to extend this adapter to be able to create RSS Feeds? It would be amazing!!

Create some templates with markdown an fill it with values from ioBroker.

https://github.com/im-sticky/markdown-rss-feed-plugin

ioBroker/AdapterRequests#30

@oweitman
Copy link
Owner

oweitman commented Jan 7, 2022

Hm I think this is a complete new Adapter in the category like sql influx or history.
For each datapoint you can define a template and a placeholder to insert the value.
Markdown is possible but if I decide to make such an Adapter I would prefer the ejs template engine which is already used in Iobroker. With this engine you can mix HTML,css and JavaScript for further processing the value.
Markdown is only for simple formatting the output. A json datapoint for example there is no possibility to format or extract some values

@ldittmar81
Copy link
Contributor Author

ldittmar81 commented Jan 7, 2022

@oweitman Great Idea... it can be like iQontrol https://github.com/sbormann/ioBroker.iqontrol#modifying-datapoint-configuration - for each datapoint you can configure how to be displayed. Maybe something like "Don't show the datapoint if dp x is false..." or "Show it if dp > 30..."
Hmm... It could be rssfeed 2.x .. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants