无意间访问到中国天气网,网站提供自定义的插件内容,获得代码如下:
<!-- weather_plugin -->
<script type="text/javascript">
WIDGET = {
FID: 'xxxxxxxxxx'}
</script>
<script type="text/javascript" src="https://apip.weatherdt.com/float/static/js/r.js?v=1111"></script>
内容很简单,但不知道该如何使用。多次尝试都是各种错误ÿ