Lestvica SNL
v1.0makihekakodo · 2017年2月8日 上架
Automatic update of 3. Slovenian soccer league standings.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,011
- 最近更新
- 2017年2月9日
贡献者
So far, without changing any of the plugin code, this will work on all soccer leaguges of NZS(Nogometna zveza Slovenije, official website at http://www.nzs.si).
It retrieves all data(matches played, scoresheet, …), it parses it using “PHP Simple HTML DOM Parser” made by S.C. Chen (me578022@gmail.com), included in the standings table on desired site.
More about parser can be found here : http://simplehtmldom.sourceforge.net/
The widget retrieves last update from WP options system on each visit of the website (or wherever the widget is embedded). Update rate, among other things, of the official standings can be manually set in the settings of the widget.
If more time than specified in the settings has passed, widget uses parser to get information, otherwise it simply takes it from local database (we don’t really want to spam requests on NZS).