Introduction

This plugin allows you to parse the certain web-page for weather as text data.




Script Calls

스크립트 커맨드에서 다음 스크립트를 호출하세요.


1
2
3
4
5
6
7
8
9
10
11
// This function allows you to parse the html data through callback function.
 
RS.Weather.parseHTML(function(doc) {
 
  // Find the <div> element in target document
  var inf = doc.querySelector('.inf');
 
  // Set the game title using parsing the text for weather
  document.title = inf.firstElementChild.nextElementSibling.textContent;    
 
});
cs


Download

Github RAW - https://github.com/biud436/MV/raw/master/RS_ParseWeatherData.js


Version Log

2018.04.28 (v1.0.0) - First Release.


Terms of Use

Free for commercial and non-commercial use.