donaldusry wrote: ↑January 30th, 2024, 11:13 am
I have been using a script to track cryptocurrencies, but it seems to have stopped working for the past two days (Crypto market cap).
I am wondering if there is a way to incorporate widgets, like the ones found on various websites, into the Rainmeter plugin. The widgets I am referring to have the following code:
Code: Select all
<coingecko-coin-market-ticker-list-widget coin-id="bitcoin" currency="usd" locale="fr"></coingecko-coin-market-ticker-list-widget>
I would greatly appreciate any assistance you can provide. Thank you in advance.
- you can try to scrape the site that provides the desired data using WebParser measures
and replicate its appearance as a Rainmeter skin using meters
- you can use the WebView plugin
for Rainmeter to directly display such webpages into a Rainmeter skin (this will limit a bit your control over the skin)
Either way, the details you posted are insufficient and such an "incorporation" is not exactly as you think it is. You can't just "plug in" stuff made for other platforms into Rainmeter, you have to work a little bit to retrieve and display what you need in a way that Rainmeter can handle. In that sense, we can help with samples or advice so you can understand how to do it, but will not do that work for you.
In this specific case, you'd probably want to use the URL
and other options
of a WebParser measure to scrape https://www.coingecko.com/
(basically, using regular expressions
to find and extract the desired data from that site's page source
). Depending on the desired amount of data, it can become a slightly more complex or lengthy process. You'd probably want to make the visuals of the skin match the widget at https://www.coingecko.com/en/widgets/coin_market_ticker_list_widget
or make it look even better.