0

我想要做的是从这个链接和网站上的类似链接解析一个数据表。基本上它显示了安大略省不同地区的水位。我想获取数据表并制作自己的图表。

有人可以指出我这样做的方向吗?没有PHP可以吗?

目标链接

4

1 回答 1

1

Is it possible to do without PHP? Absolutely!

I suggest using Yahoo! Query Language (YQL).

What is YQL?

The Yahoo! Query Language is an expressive SQL-like language that lets you query, filter, and join data across Web services. With YQL, apps run faster with fewer lines of code and a smaller network footprint.

-- YQL Homepage

Just take a look at YQL Console, there's some nice examples at the bottom of the right panel which titled by DATA TABLES.

Another thing that makes me feel is the awesome THE REST QUERY feature.

You can use this API to get access to the query result in XML or JSON format.

There's also a full documented user guide you can use to find your answers.

Just give it a try, and I promise you will ♥ that.

于 2013-06-27T14:28:57.257 回答