getminera / minera

Minera is a web interface to monitor and manage mining devices
http://getminera.com
Other
372 stars 156 forks source link

Enhancement / Feature Request: RSS Feed #151

Closed cbrightly closed 7 years ago

cbrightly commented 8 years ago

I know that JSON is the preferred method for displaying raw statistics / settings and is how the software currently displays that data. Is it possible to have the software render an RSS feed for statistics and settings as well?

michelem09 commented 8 years ago

How can I put that data in RSS format? Do you have some idea? RSS is to read chronological contents like blog post, timelines, notifications and something like those, I don't think it's a great way to read statistics like those from Minera, but please let me know what you think.

cbrightly commented 8 years ago

Well, I suppose JSON format would actually be fine; I do only need a snapshot of settings and/or performance, not a timeline.

I am writing an IRC bot that I would like to be able to have fetch specific fields / variables or all of the data that Minera uses or calculates via HTTP so that the program can display current mining information on demand. Ideally I would like to program this without having to search strings in large and rather unreadable JSON files and am seeking alternative approaches and or data file formats to achieve this.

I hope that makes sense... Thoughts?

On Saturday, October 10, 2015, Michele Marcucci notifications@github.com wrote:

How can I put that data in RSS format? Do you have some idea? RSS is to read chronological contents like blog post, timelines, notifications and something like those, I don't think it's a great way to read statistics like those from Minera, but please let me know what you think.

— Reply to this email directly or view it on GitHub https://github.com/michelem09/minera/issues/151#issuecomment-147067618.

michelem09 commented 8 years ago

JSON is the best format you can have to do what you need, there isn't anything better than that. If you have problem reading it just install a browser extension to format/indent it like this:

https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=en

And you'll see how easy and usable it is. You don't need any parser too (for a RSS you need it), don't know what code you are writing but JSON is really easy to be converted in object to play with.

So, my recommendation is to use the Minera JSON, I could add a new one to show you all the settings.

cbrightly commented 8 years ago

A JSON displaying the values shown at the top of the dashboard such as local hashrate, error count and percentage, current pool, etc. would be amazing to have. Maybe also currently detected devices? An overview of the most relevant values you might want to show off or check from IRC, for example? ;) Thanks again for an amazing tool!

On Sat, Oct 10, 2015 at 5:40 AM Michele Marcucci notifications@github.com wrote:

JSON is the best format you can have to do what you need, there isn't anything better than that. If you have problem reading it just install a browser extension to format/indent it like this:

https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa?hl=en

And you'll see how easy and usable it is. You don't need any parser too (for a RSS you need it), don't know what code you are writing but JSON is really easy to be converted in object to play with.

So, my recommendation is to use the Minera JSON, I could add a new one to show you all the settings.

— Reply to this email directly or view it on GitHub https://github.com/michelem09/minera/issues/151#issuecomment-147069609.