Hi, I just picked up rainmeter a few days ago and dove into my first project yesterday, so sorry for any noobness.
I am trying to make a skin for viewing the status of BF2 servers, but the only feed for that doesn't have all the info I need. However, there is a webpage that has exactly what i want. Is there a plugin or would it be hard for me to make one to just grab raw source text (like HTML) from a target URL to run it through the RegExp rules and display in a meter?
Thanks,
Dave
It is currently April 19th, 2024, 7:40 pm
HTML Plugin/Measure
-
- Posts: 30
- Joined: May 22nd, 2010, 6:51 pm
-
- Developer
- Posts: 1270
- Joined: April 3rd, 2009, 4:31 am
- Location: NC, US
Re: HTML Plugin/Measure
As long the page doesn't require a login to view it you can use WebParser just like we do with rss feeds.
-
- Rainmeter Sage
- Posts: 642
- Joined: July 19th, 2009, 5:59 am
- Location: Montreal, QC, Canada
Re: HTML Plugin/Measure
WebParser will let you grab any of the text that you need, but it won't parse the HTML for you. If the site says "<p>Some <br/>Text</p>", that's exactly what you're going to get. Fortunately, WebParser lets you use Regular Expressions to get only the exact data you need.
More info: http://rainmeter.net/cms/Tips-WebParserPrimer
More info: http://rainmeter.net/cms/Tips-WebParserPrimer